/* ===========================
   RESET & BASE STYLES
   =========================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: #0B0B0B;
    color: #E0E0E0;
    line-height: 1.6;
    letter-spacing: 0.3px;
    overflow-x: hidden;
}

/* Smooth reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===========================
   ANIMATIONS
   =========================== */

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

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

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        filter: blur(40px);
    }
    50% {
        opacity: 0.8;
        filter: blur(60px);
    }
}

@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes cardHoverGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ===========================
   CONTAINER & LAYOUT
   =========================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 40px;
    text-align: center;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #B0B0B0;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 600px;
}

.accent-text {
    color: #00FF9C;
    font-weight: 600;
}

/* ===========================
   NAVBAR / NAVIGATION
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 11, 11, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    transition: border-color 0.3s ease;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #B0B0B0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00FF9C, transparent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #00FF9C;
}

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

@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(135deg, #0B0B0B 0%, #1a1a1a 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: glowPulse 6s ease-in-out infinite;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: #00FF9C;
    top: 10%;
    right: -10%;
}

.glow-2 {
    width: 300px;
    height: 300px;
    background: #00FF9C;
    bottom: 10%;
    left: -5%;
    animation-delay: 2s;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.cta-button {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: linear-gradient(135deg, #00FF9C, #00CC7F);
    color: #0B0B0B;
    box-shadow: 0 8px 24px rgba(0, 255, 156, 0.2);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 255, 156, 0.4);
}

.cta-secondary {
    background: transparent;
    color: #00FF9C;
    border: 1.5px solid #00FF9C;
    box-shadow: inset 0 0 0 0 #00FF9C;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    box-shadow: inset 200px 0 0 0 #00FF9C;
    color: #0B0B0B;
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #00FF9C;
    cursor: pointer;
    animation: scrollBounce 2s ease-in-out infinite;
    transition: all 0.3s ease;
    z-index: 1;
}

.hero-scroll:hover {
    color: #FFFFFF;
}

/* ===========================
   ABOUT / MISSION SECTION
   =========================== */

.about {
    padding: 80px 20px;
    background: linear-gradient(180deg, #0B0B0B 0%, #1a1a1a 100%);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    animation: revealOnScroll 0.8s ease-out;
}

.about-text {
    font-size: 1.1rem;
    color: #B0B0B0;
    line-height: 1.9;
    margin-bottom: 30px;
}

/* ===========================
   CONTENT SPECTRUM (BENTO GRID - 6 CARDS)
   =========================== */

.content-spectrum {
    padding: 100px 20px;
    background: #0B0B0B;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ensure 3 columns on large screens for 6 cards */
@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ensure 2 columns on medium screens */
@media (min-width: 768px) and (max-width: 1023px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bento-card {
    position: relative;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 255, 156, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: revealOnScroll 0.8s ease-out backwards;
    cursor: pointer;
}

.bento-card:nth-child(1) {
    animation-delay: 0.1s;
}

.bento-card:nth-child(2) {
    animation-delay: 0.2s;
}

.bento-card:nth-child(3) {
    animation-delay: 0.3s;
}

.bento-card:nth-child(4) {
    animation-delay: 0.4s;
}

.bento-card:nth-child(5) {
    animation-delay: 0.5s;
}

.bento-card:nth-child(6) {
    animation-delay: 0.6s;
}

.card-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 255, 156, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-card:hover .card-glow {
    opacity: 1;
}

.bento-card:hover {
    border-color: rgba(0, 255, 156, 0.3);
    background: linear-gradient(135deg, rgba(0, 255, 156, 0.05) 0%, rgba(0, 255, 156, 0.02) 100%);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 255, 156, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    color: #00FF9C;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #FFFFFF;
    text-align: left;
}

.card-description {
    font-size: 0.95rem;
    color: #A0A0A0;
    line-height: 1.7;
    text-align: left;
}

/* ===========================
   SOCIAL PLATFORMS SECTION
   =========================== */

.socials {
    padding: 100px 20px;
    background: linear-gradient(180deg, #0B0B0B 0%, #1a1a1a 100%);
}

.socials-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #A0A0A0;
    max-width: 600px;
    margin: 0 auto 50px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.social-card {
    position: relative;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 255, 156, 0.03) 100%);
    border: 1.5px solid rgba(0, 255, 156, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    animation: revealOnScroll 0.8s ease-out backwards;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.social-card:nth-child(1) {
    animation-delay: 0.2s;
}

.social-card:nth-child(2) {
    animation-delay: 0.3s;
}

.social-card:nth-child(3) {
    animation-delay: 0.4s;
}

.social-card:nth-child(4) {
    animation-delay: 0.5s;
}

.social-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #00FF9C;
    transition: all 0.3s ease;
}

.social-name {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #FFFFFF;
    transition: color 0.3s ease;
}

.social-tagline {
    font-size: 0.9rem;
    color: #A0A0A0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.social-arrow {
    align-self: flex-end;
    font-size: 1.5rem;
    color: #00FF9C;
    transition: all 0.3s ease;
}

.social-card:hover {
    border-color: #00FF9C;
    background: linear-gradient(135deg, rgba(0, 255, 156, 0.1) 0%, rgba(0, 255, 156, 0.03) 100%);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 255, 156, 0.15);
}

.social-card:hover .social-icon {
    transform: scale(1.2) rotate(10deg);
}

.social-card:hover .social-arrow {
    transform: translateX(8px);
}

/* ===========================
   CLOSING / CTA SECTION
   =========================== */

.closing {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0B0B0B 0%, #1a1a1a 100%);
    text-align: center;
}

.closing-content {
    max-width: 800px;
    margin: 0 auto;
    animation: revealOnScroll 0.8s ease-out;
}

.closing-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 20px;
    color: #FFFFFF;
}

.closing-subtitle {
    font-size: 1.1rem;
    color: #A0A0A0;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-text {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-link {
    color: #A0A0A0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #00FF9C;
    text-decoration: underline;
}

.footer-bottom {
    text-align: right;
    color: #666;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .hero-ctas {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .about {
        padding: 60px 20px;
    }
    
    .content-spectrum {
        padding: 60px 20px;
    }
    
    .socials {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .bento-card,
    .social-card {
        padding: 24px;
    }
    
    .card-icon {
        width: 48px;
        height: 48px;
    }
    
    .nav-links {
        gap: 10px;
        font-size: 0.8rem;
    }
}

/* ===========================
   UTILITY CLASSES
   =========================== */

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.reveal-on-scroll {
    opacity: 0;
}
