/* Import SF Pro Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: auto;
}

main {
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 40px;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    order: 1; /* Move logo to the left */
    margin-left: -80px; /* Push to absolute left corner */
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    transition: color 0.3s ease;
    cursor: pointer;
}

.logo-text:hover {
    color: #FF3D5F;
}

/* Navigation Styles */
.navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    order: 2; /* Keep navigation in center */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF3D5F;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #FF3D5F;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    order: 3; /* Move auth buttons to the right */
    margin-right: -80px; /* Push to absolute right corner */
}

.login-btn {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 15px;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
}

.login-btn:hover {
    color: #FF3D5F;
    background: rgba(255, 61, 95, 0.1);
}

.signup-btn {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 24px;
    background: #FF3D5F;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
    box-shadow: 0 2px 8px rgba(255, 61, 95, 0.2);
}

.signup-btn:hover {
    background: #E6345A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 61, 95, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-content {
        padding: 0 16px;
    }
    
    .logo {
        margin-left: 0; /* Reset margin on mobile */
    }
    
    .auth-buttons {
        margin-right: 0; /* Reset margin on mobile */
    }
    
    .navigation {
        display: none;
    }
    
    .auth-buttons {
        gap: 12px;
    }
    
    .login-btn, .signup-btn {
        font-size: 14px;
        padding: 10px 18px;
    }
    
    .signup-btn {
        padding: 12px 20px;
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
    position: relative;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: #e6355a;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hamburger animation when active */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hide mobile auth buttons on desktop */
.mobile-auth-buttons {
    display: none;
}

/* Desktop auth buttons */
.desktop-only {
    display: flex;
}

/* Show navigation on desktop and mobile when active */
.navigation.active {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    padding: 2rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.navigation.active .nav-links {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    height: auto;
    justify-content: flex-start;
}

.navigation.active .nav-links a {
    font-size: 1.2rem;
    padding: 1rem 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #333;
    font-weight: 500;
}

.navigation.active .nav-links a:hover {
    color: #FF3D5F;
    background: rgba(255, 61, 95, 0.05);
    border-radius: 8px;
}

.navigation.active .mobile-auth-buttons {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    justify-content: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        order: 3;
        background: #FF3D5F;
        border: 2px solid #FF3D5F;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .header-content {
        padding: 0 20px;
    }
    
    .logo {
        margin-left: 0;
    }
}

/* Smaller mobile screens */
@media (max-width: 480px) {
    .header-content {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
}

/* Smooth scroll offset for fixed header */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
    overflow-x: hidden;
}

/* Enhanced smooth scrolling for PC */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* For browsers that support it, add smoother scrolling */
* {
    scroll-behavior: smooth;
}

/* Main content spacing */
main {
    padding-top: 70px;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: #ffffff;
    min-height: 90vh;
    display: flex;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.hero-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #FF3D5F;
    margin-bottom: 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
}

.learn-more-btn {
    display: inline-block;
    background: #FF3D5F;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 61, 95, 0.3);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
}

.learn-more-btn:hover {
    background: #E6345A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 61, 95, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg {
    width: 100%;
    max-width: 600px;
    height: auto;
}

/* Responsive Design for Hero */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-svg {
        max-width: 400px;
    }
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #ffffff;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.features-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.features-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease 0.2s;
}

.features-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.features-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease 0.4s;
}

.features-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 1;
    transform: translateY(0);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }
.feature-card:nth-child(5) { transition-delay: 0.5s; }
.feature-card:nth-child(6) { transition-delay: 0.6s; }

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: #FF3D5F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(255, 61, 95, 0.2);
}

.feature-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1); /* Makes icons white */
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
}

.feature-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
}

/* Responsive Design for Features */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-title {
        font-size: 2rem;
    }
    
    .features-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #ffffff;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.team-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease 0.2s;
}

.team-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease 0.4s;
}

.team-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: #FF3D5F;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(255, 61, 95, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    opacity: 1;
    transform: translateY(0);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.team-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 80px rgba(255, 61, 95, 0.4);
}

.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
}

.team-role {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.team-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
    text-align: left;
    margin-top: 1rem;
}

/* Space Section */
.space-section {
    position: relative;
    padding: 0;
    background: linear-gradient(135deg, #0a0a1e 0%, #1a1a4e 15%, #2d2d79 30%, #3e3e92 45%, #1e1e4e 60%, #1a1a4e 75%, #000022 100%);
    overflow: hidden;
    height: 100vh;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.space-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.space-section .container {
    height: 100vh;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
}

.space-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Stars Animation */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stars::before,
.stars::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.stars::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    box-shadow: 
        200px 100px 0 0 white,
        400px 200px 0 0 rgba(255, 61, 95, 0.8),
        600px 50px 0 0 white,
        800px 300px 0 0 rgba(120, 119, 198, 0.9),
        1000px 150px 0 0 white,
        1200px 250px 0 0 rgba(255, 61, 95, 0.7),
        300px 400px 0 0 white,
        500px 350px 0 0 rgba(120, 119, 198, 0.8),
        700px 450px 0 0 white,
        900px 400px 0 0 rgba(255, 61, 95, 0.6),
        100px 500px 0 0 white,
        1100px 500px 0 0 rgba(120, 119, 198, 0.7),
        50px 150px 0 0 rgba(255, 200, 100, 0.6),
        1150px 350px 0 0 rgba(255, 200, 100, 0.5),
        250px 600px 0 0 rgba(255, 200, 100, 0.7);
}

.stars::after {
    top: 30%;
    left: 30%;
    animation-delay: 1.5s;
    box-shadow: 
        150px 200px 0 0 rgba(255, 255, 255, 0.8),
        350px 100px 0 0 rgba(255, 255, 255, 0.6),
        550px 300px 0 0 rgba(255, 255, 255, 0.7),
        750px 150px 0 0 rgba(255, 255, 255, 0.5),
        950px 250px 0 0 rgba(255, 255, 255, 0.8),
        250px 450px 0 0 rgba(255, 255, 255, 0.6),
        450px 400px 0 0 rgba(255, 255, 255, 0.7),
        650px 500px 0 0 rgba(255, 255, 255, 0.5),
        850px 350px 0 0 rgba(255, 255, 255, 0.6),
        50px 300px 0 0 rgba(255, 255, 255, 0.7);
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Enhanced Stars */
.enhanced-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.enhanced-stars::before,
.enhanced-stars::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 1px;
    background: white;
    border-radius: 50%;
    animation: twinkle-enhanced 4s infinite;
}

.enhanced-stars::before {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    box-shadow: 
        50px 30px 0 0 white,
        150px 80px 0 0 rgba(255, 255, 255, 0.8),
        250px 40px 0 0 white,
        350px 120px 0 0 rgba(255, 255, 255, 0.6),
        450px 70px 0 0 white,
        550px 160px 0 0 rgba(255, 255, 255, 0.9),
        650px 20px 0 0 white,
        750px 200px 0 0 rgba(255, 255, 255, 0.7),
        850px 90px 0 0 white,
        950px 180px 0 0 rgba(255, 255, 255, 0.8),
        1050px 50px 0 0 white,
        1150px 140px 0 0 rgba(255, 255, 255, 0.6),
        80px 220px 0 0 white,
        180px 300px 0 0 rgba(255, 255, 255, 0.9),
        280px 260px 0 0 white,
        380px 380px 0 0 rgba(255, 255, 255, 0.7),
        480px 340px 0 0 white,
        580px 420px 0 0 rgba(255, 255, 255, 0.8),
        680px 280px 0 0 white,
        780px 480px 0 0 rgba(255, 255, 255, 0.6),
        880px 360px 0 0 white,
        980px 500px 0 0 rgba(255, 255, 255, 0.9),
        120px 440px 0 0 white,
        320px 520px 0 0 rgba(255, 255, 255, 0.7),
        520px 580px 0 0 white,
        720px 540px 0 0 rgba(255, 255, 255, 0.8),
        920px 620px 0 0 white,
        1020px 600px 0 0 rgba(255, 255, 255, 0.6),
        220px 680px 0 0 white,
        420px 720px 0 0 rgba(255, 255, 255, 0.9);
}

.enhanced-stars::after {
    top: 25%;
    left: 25%;
    animation-delay: 2s;
    box-shadow: 
        100px 50px 0 0 rgba(255, 255, 255, 0.8),
        200px 100px 0 0 rgba(255, 255, 255, 0.6),
        300px 150px 0 0 rgba(255, 255, 255, 0.7),
        400px 200px 0 0 rgba(255, 255, 255, 0.5),
        500px 250px 0 0 rgba(255, 255, 255, 0.8),
        600px 300px 0 0 rgba(255, 255, 255, 0.6),
        700px 350px 0 0 rgba(255, 255, 255, 0.7),
        800px 400px 0 0 rgba(255, 255, 255, 0.5),
        900px 450px 0 0 rgba(255, 255, 255, 0.6),
        1000px 500px 0 0 rgba(255, 255, 255, 0.7),
        150px 550px 0 0 rgba(255, 255, 255, 0.8),
        250px 600px 0 0 rgba(255, 255, 255, 0.6),
        350px 650px 0 0 rgba(255, 255, 255, 0.7),
        450px 700px 0 0 rgba(255, 255, 255, 0.5),
        550px 750px 0 0 rgba(255, 255, 255, 0.8);
}

@keyframes twinkle-enhanced {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

.floating-particles::before {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-particles::after {
    top: 60%;
    left: 80%;
    animation-delay: 7s;
}

@keyframes float {
    0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(50px) rotate(360deg); opacity: 0; }
}

/* BRIGHT Panel within Space Section */
.bright-in-space {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bright-in-space .bright-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    height: 100vh;
    padding: 0 60px;
}

.bright-in-space .bright-image {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bright-in-space .bright-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.bright-in-space .bright-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 24px;
    transition: all 0.3s ease;
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(64, 128, 255, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: float-3d 6s ease-in-out infinite;
}

@keyframes float-3d {
    0%, 100% { 
        transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(0px) translateZ(0px);
    }
    50% { 
        transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-20px) translateZ(30px);
    }
}

.bright-in-space .bright-img:hover {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(-30px) translateZ(50px);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 120px rgba(64, 128, 255, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.bright-in-space .bright-floating-shadow {
    position: absolute;
    top: 60%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: shadow-float 6s ease-in-out infinite;
}

@keyframes shadow-float {
    0%, 100% { 
        transform: scale(1) translateY(0px);
        opacity: 0.4;
    }
    50% { 
        transform: scale(1.2) translateY(15px);
        opacity: 0.2;
    }
}

.bright-in-space .bright-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.bright-in-space .bright-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.bright-in-space .bright-title {
    font-size: 8rem;
    font-weight: 900;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.9) 0%,
        rgba(64, 128, 255, 0.8) 25%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(128, 164, 255, 0.8) 75%,
        rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
    animation: liquid-glass-glow 3s ease-in-out infinite;
    position: relative;
    line-height: 1;
}

.bright-in-space .bright-title::before {
    content: 'BRIGHT';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.3) 0%,
        rgba(64, 128, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(2px);
    z-index: -1;
}

@keyframes liquid-glass-glow {
    0%, 100% { 
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6))
                drop-shadow(0 0 60px rgba(64, 128, 255, 0.4));
    }
    50% { 
        filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.9))
                drop-shadow(0 0 90px rgba(64, 128, 255, 0.6))
                drop-shadow(0 0 120px rgba(128, 164, 255, 0.4));
    }
}

.bright-in-space .bright-description {
    font-size: 2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(200, 220, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.bright-divider {
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(64, 128, 255, 0.6) 0%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(128, 164, 255, 0.6) 100%);
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.bright-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.9) 50%,
        transparent 100%);
    animation: divider-flow 2s ease-in-out infinite;
}

@keyframes divider-flow {
    0% { left: -100%; }
    100% { left: 100%; }
}

.bright-cta {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.9) 0%,
        rgba(200, 220, 255, 0.8) 50%,
        rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 24px 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 1.4rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 30px rgba(64, 128, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.discord-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%);
    transition: left 0.5s ease;
}

.discord-button:hover::before {
    left: 100%;
}

.discord-button:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 40px rgba(64, 128, 255, 0.5);
}

.discord-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #5865f2;
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.6));
}

/* Responsive Design for Space Section */
@media (max-width: 1200px) {
    .bright-in-space .bright-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }
    
    .bright-in-space .bright-image {
        height: auto;
        margin-bottom: 20px;
    }
    
    .bright-in-space .bright-text {
        height: auto;
        text-align: center;
    }
    
    .bright-in-space .bright-title {
        font-size: 6rem;
    }
    
    .bright-in-space .bright-description {
        font-size: 1.6rem;
    }
    
    .bright-in-space .bright-cta {
        font-size: 1.5rem;
    }
    
    .discord-button {
        font-size: 1.2rem;
        padding: 20px 36px;
    }
}

@media (max-width: 768px) {
    .space-section {
        height: auto;
        min-height: 100vh;
        padding: 60px 0;
    }
    
    .space-section .container {
        height: auto;
        padding: 0 20px;
    }
    
    .bright-in-space {
        height: auto;
    }
    
    .bright-in-space .bright-content {
        height: auto;
        padding: 20px;
    }
    
    .bright-in-space .bright-title {
        font-size: 4rem;
    }
    
    .bright-in-space .bright-description {
        font-size: 1.4rem;
    }
    
    .bright-in-space .bright-cta {
        font-size: 1.3rem;
    }
    
    .discord-button {
        font-size: 1.1rem;
        padding: 16px 32px;
    }
}

@media (max-width: 480px) {
    .bright-in-space .bright-content {
        padding: 15px;
    }
    
    .bright-in-space .bright-title {
        font-size: 3rem;
    }
    
    .bright-in-space .bright-description {
        font-size: 1.2rem;
    }
    
    .bright-in-space .bright-cta {
        font-size: 1.1rem;
    }
    
    .discord-button {
        font-size: 1rem;
        padding: 14px 28px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #ffffff;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.faq-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease 0.2s;
}

.faq-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease 0.4s;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:nth-child(1) { transition-delay: 0.1s; }
.faq-item:nth-child(2) { transition-delay: 0.2s; }
.faq-item:nth-child(3) { transition-delay: 0.3s; }
.faq-item:nth-child(4) { transition-delay: 0.4s; }
.faq-item:nth-child(5) { transition-delay: 0.5s; }
.faq-item:nth-child(6) { transition-delay: 0.6s; }

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 61, 95, 0.2);
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: rgba(255, 61, 95, 0.02);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4a5568;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: #FF3D5F;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: rgba(255, 61, 95, 0.02);
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
}

/* Code styling for inline code blocks */
code {
    background-color: #f1f5f9;
    color: #1e293b;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.9em;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

/* Optional: Dark theme code styling */
.dark-theme code {
    background-color: #334155;
    color: #e2e8f0;
    border-color: #475569;
}

/* Code styling in FAQ sections specifically */
.faq-answer code {
    background-color: #f8fafc;
    color: #FF3D5F;
    font-weight: 600;
}

/* Responsive Design for FAQ */
@media (max-width: 768px) {
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
        padding-right: 16px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
}

/* Services CTA Section */
.services-cta-section {
    position: relative;
    padding: 80px 0;
    background: #ffffff;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.services-cta-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.pink-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%,
        #FF3D5F 20%,
        #FF3D5F 80%,
        transparent 100%);
    box-shadow: 0 2px 10px rgba(255, 61, 95, 0.3);
}

.services-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.services-cta-text {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.services-cta-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.services-cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    line-height: 1.2;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease 0.2s;
}

.view-services-btn {
    display: inline-block;
    background: #FF3D5F;
    color: #ffffff;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 61, 95, 0.3);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
    position: relative;
    overflow: hidden;
}

.view-services-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%);
    transition: left 0.5s ease;
}

.view-services-btn:hover::before {
    left: 100%;
}

.view-services-btn:hover {
    background: #E6345A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 61, 95, 0.4);
}

.services-cta-image {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.services-cta-image.visible {
    opacity: 1;
    transform: translateY(0);
}

.services-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

@keyframes float-gentle {
    0%, 100% { 
        transform: translateY(0px);
    }
    50% { 
        transform: translateY(-20px);
    }
}

/* Responsive Design for Services CTA */
@media (max-width: 768px) {
    .services-cta-content {
        flex-direction: column;
        align-items: center;
    }
    
    .services-cta-text {
        margin-bottom: 2rem;
    }
    
    .services-cta-title {
        font-size: 2.2rem;
    }
    
    .view-services-btn {
        font-size: 1rem;
        padding: 16px 32px;
    }
    
    .services-svg {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .services-cta-title {
        font-size: 1.8rem;
    }
    
    .view-services-btn {
        font-size: 0.9rem;
        padding: 14px 28px;
    }
    
    .services-svg {
        max-width: 300px;
    }
}

/* Footer */
.footer {
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 60px 0 30px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    text-decoration: none;
    cursor: default;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
}

.footer-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #FF3D5F, #FF6B8A);
    transition: width 0.3s ease;
}

.footer-list a:hover {
    color: #FF3D5F;
}

.footer-list a:hover::after {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-copyright {
    font-size: 0.9rem;
    color: #64748b;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 61, 95, 0.1);
    border-radius: 8px;
    color: #FF3D5F;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #FF3D5F;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design for Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-logo-text {
        font-size: 1.3rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-title {
        font-size: 0.95rem;
    }
    
    .footer-list a {
        font-size: 0.85rem;
    }
}

/* Responsive footer layout for mobile devices */
@media (max-width: 700px) {
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
  }
  .footer-column {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  .footer-title {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
  }
  .footer-list {
    font-size: 1rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
  }
}

/* Ensure smooth scrolling works on all devices */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  overflow-x: hidden;
}

@media (pointer: coarse) {
  html {
    scroll-behavior: smooth;
  }
}

/* Make footer links easier to tap on mobile */
.footer-list a {
  padding: 0.3em 0.1em;
  min-width: 44px;
  min-height: 44px;
  box-sizing: border-box;
}

/* Make sure social icons are spaced and large enough on mobile */
@media (max-width: 700px) {
  .footer-social {
    gap: 1.2rem;
  }
  .footer-social a svg {
    width: 32px;
    height: 32px;
  }
}

/* Mobile auth button styles */
.mobile-auth-buttons .login-btn {
    background: transparent;
    color: #FF3D5F;
    border: 2px solid #FF3D5F;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-auth-buttons .login-btn:hover {
    background: #FF3D5F;
    color: white;
}

.mobile-auth-buttons .signup-btn {
    background: #FF3D5F;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-auth-buttons .signup-btn:hover {
    background: #e6355a;
    transform: translateY(-2px);
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}