:root {
    --bg-color: #040A06;
    --card-bg: rgba(10, 24, 15, 0.4);
    --border-color: rgba(46, 204, 113, 0.15);
    --border-hover: rgba(46, 204, 113, 0.6);
    --accent-color: #2ECC71;
    --accent-glow: rgba(46, 204, 113, 0.3);
    --text-primary: #E8F5EE;
    --text-secondary: #8A9E92;
    --nav-bg: rgba(4, 10, 6, 0.8);
    --btn-text: #040A06;
}



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

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    line-height: 1.6;
}



/* Background Effect & Subtle Stars */
.glow-bg {
    position: fixed; top: -20%; left: -10%; width: 60vw; height: 60vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    filter: blur(100px); z-index: -1; pointer-events: none;
    transition: transform 0.1s ease-out;
}

.stars-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    pointer-events: none; z-index: -2; overflow: hidden;
}

.subtle-shooting-star {
    position: absolute; width: 2px; height: 2px; background: rgba(255,255,255,0.4);
    border-radius: 50%; box-shadow: 0 0 10px rgba(255,255,255,0.2);
    animation: subtleShoot linear infinite; opacity: 0;
}
.subtle-shooting-star::before {
    content: ''; position: absolute; top: 50%; transform: translateY(-50%);
    width: 30px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0.4), transparent);
}
@keyframes subtleShoot {
    0% { transform: translateX(0) translateY(0) rotate(45deg); opacity: 0; }
    5% { opacity: 0.8; }
    15% { transform: translateX(-200px) translateY(200px) rotate(45deg); opacity: 0; }
    100% { opacity: 0; }
}



/* Typography */
h1, h2, h3 { font-weight: 700; line-height: 1.2; }
.gradient-text {
    background: linear-gradient(90deg, #2ECC71, #8EFCBA);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    display: inline-block; transition: all 0.3s ease;
}
.dynamic-text {
    position: relative;
    animation: textFade 0.5s ease-in-out;
}
@keyframes textFade {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    background: var(--nav-bg); backdrop-filter: blur(16px); z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--text-primary); letter-spacing: -0.5px; }
.logo .dot { color: var(--accent-color); }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
    text-decoration: none; color: var(--text-secondary); font-weight: 500; font-size: 1rem;
    position: relative; transition: color 0.3s ease;
}
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0;
    background-color: var(--accent-color); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 15px; }


/* Hamburger Menu */
.hamburger {
    display: none; background: transparent; border: none; flex-direction: column; gap: 5px; width: 30px; z-index: 1001;
}
.hamburger span {
    display: block; width: 100%; height: 3px; background: var(--text-primary); border-radius: 3px;
    transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -5px); }

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--nav-bg); backdrop-filter: blur(25px);
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 40px;
    opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 999;
    transform: translateY(-20px);
}
.mobile-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-link { font-size: 2rem; font-weight: 700; color: var(--text-primary); text-decoration: none; transition: 0.3s; }
.mobile-link:hover { color: var(--accent-color); transform: scale(1.1); }

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

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: space-between; padding-top: 80px; gap: 40px; }
.hero-content { width: 100%; max-width: 550px; flex-shrink: 0; z-index: 2; }
.badge {
    display: inline-block; padding: 8px 16px; border-radius: 999px;
    background: var(--accent-glow); border: 1px solid var(--accent-color);
    color: var(--accent-color); font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }

.hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -1.5px; margin-bottom: 24px; min-height: 3.5em; }
.hero-desc { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; }

.btn {
    padding: 14px 28px; border-radius: 12px; font-weight: 600; text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: none; font-family: inherit; font-size: 1rem;
    display: inline-block;
}
.btn-primary { background: var(--accent-color); color: var(--btn-text); box-shadow: 0 8px 24px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 35px var(--accent-glow); filter: brightness(1.1); }
.btn-outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-primary); }
.btn-outline:hover { background: var(--card-bg); border-color: var(--accent-color); transform: translateY(-3px) scale(1.02); }

/* Hero Graphic (Cobe Earth) */
.hero-graphic { flex: 1.5; display: flex; justify-content: center; align-items: center; position: relative; min-height: 600px; z-index: 1;}
#cobe { width: 700px !important; height: 700px !important; cursor: grab; transition: transform 0.2s ease-out; touch-action: none; }
#cobe:active { cursor: grabbing; }

/* Bento Box Grid */
.bento-section { padding: 100px 0; }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 20px; }
.glow-card {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 24px; padding: 32px;
    backdrop-filter: blur(20px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; overflow: hidden;
}
.glow-card:hover { border-color: var(--border-hover); box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 0 40px var(--accent-glow); }

.glow-card:hover .icon-wrapper i { transform: scale(1.2) rotate(10deg); color: var(--text-primary); }
.icon-wrapper i { transition: all 0.4s ease; display: inline-block; }

.span-2-col { grid-column: span 2; }
.span-2-row { grid-row: span 2; }

.about-card h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--accent-color); }
.about-card p { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; }

.center-content { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.icon-large { font-size: 3.5rem; color: var(--accent-color); margin-bottom: 20px; }

.highlight-card { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, var(--card-bg) 0%, rgba(46, 204, 113, 0.1) 100%); }
.highlight-content h3 { font-size: 2rem; margin-bottom: 10px; }
.highlight-content p { color: var(--text-secondary); max-width: 80%; }
.background-icon { font-size: 8rem; color: var(--accent-glow); position: absolute; right: -20px; bottom: -20px; transform: rotate(-15deg); transition: transform 0.5s ease; }
.highlight-card:hover .background-icon { transform: rotate(0deg) scale(1.1); color: var(--accent-color); opacity: 0.5; }

/* Contact */
.contact-section { padding: 100px 0; text-align: center; }
.contact-section h2 { font-size: 3rem; margin-bottom: 16px; }
.contact-section p { color: var(--text-secondary); margin-bottom: 40px; font-size: 1.2rem; }
.contact-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.contact-card {
    display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--text-primary);
    font-size: 1.2rem; font-weight: 500; min-width: 250px; justify-content: center;
}
.contact-card i { color: var(--accent-color); font-size: 1.5rem; transition: transform 0.3s; }
.contact-card:hover i { transform: scale(1.1); }

footer { text-align: center; padding: 40px 0; border-top: 1px solid var(--border-color); color: var(--text-secondary); margin-top: 100px;}

/* Animations Staggering */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.reveal.active { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { flex-direction: column; text-align: center; justify-content: center; padding-top: 120px; }
    .hero-actions { justify-content: center; }
    .hero-graphic { min-height: 400px; }
    #cobe { width: 450px !important; height: 450px !important; }
}

@media (max-width: 600px) {
    .bento-grid { grid-template-columns: 1fr; }
    .span-2-col { grid-column: span 1; }
    .hero-title { font-size: 2.2rem; }
    .highlight-card { flex-direction: column; text-align: center; padding-bottom: 60px; }
    .background-icon { right: 50%; bottom: -30px; transform: translateX(50%) rotate(-15deg); }
    .hero-graphic { min-height: 350px; }
    #cobe { width: 350px !important; height: 350px !important; }
}
