:root {
    /* Color Palette */
    --color-charcoal: #3C4042;
    --color-blue: #0088CC;
    --color-navy: #00335A;
    --color-white: #FFFFFF;
    
    /* Backgrounds */
    --color-bg-light: #F8F9FA;
    --color-bg-dark: #121212;
    
    /* Text */
    --color-text-light: #3C4042;
    --color-text-dark: #EFEFEF;
    
    /* Defaults (Light Mode) */
    --bg-color: var(--color-bg-light);
    --text-color: var(--color-text-light);
    --nav-bg: rgba(255, 255, 255, 0.85);
    --card-bg: #FFFFFF;
}

[data-theme="dark"] {
    --bg-color: var(--color-bg-dark);
    --text-color: var(--color-text-dark);
    --nav-bg: rgba(18, 18, 18, 0.85);
    --card-bg: #1E1E1E;
}

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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 20px; /* Increased base size for modern feel */
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.5s ease;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3rem; /* Larger headers */
}

p {
    font-weight: 300;
    margin-bottom: 1.5rem;
    max-width: 60ch; /* Optimal reading width */
}

strong {
    font-weight: 700;
    font-style: italic; /* Branding Rule */
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    z-index: 1000;
    transition: background-color 0.5s ease;
}

.logo-bug {
    width: 56px;
    height: 56px;
    transition: transform 0.3s ease;
}

.logo-bug:hover {
    transform: rotate(5deg);
}

.theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.8rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.theme-btn:hover {
    background-color: rgba(128, 128, 128, 0.15);
}

.theme-btn .sun-icon { display: none; }
.theme-btn .moon-icon { display: block; }
[data-theme="dark"] .theme-btn .sun-icon { display: block; }
[data-theme="dark"] .theme-btn .moon-icon { display: none; }


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
}

.hero-content {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo Container & Animation */
.logo-container {
    width: 100%;
    max-width: 800px; /* Much larger */
    margin-bottom: 3rem;
    overflow: visible;
}

#main-logo {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Initial States for Logo Parts */
#anim-icon {
    opacity: 0;
    transform: scale(0.5);
    animation: iconPop 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.2s;
}

#anim-sent {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.8s;
}

#anim-xt {
    opacity: 0;
    animation: simpleFade 1.5s ease forwards 1.4s;
}

.tagline {
    font-size: 1.5rem;
    color: var(--color-blue);
    margin-top: 1rem;
    letter-spacing: 2px;
    font-weight: 400;
    text-transform: uppercase;
}

/* Scroll Chevrons */
.scroll-chevrons {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -10px; /* Overlap slightly */
}

.chevron {
    opacity: 0;
    animation: chevronPulse 3s infinite ease-in-out;
}

.chevron:nth-child(1) { animation-delay: 0s; }
.chevron:nth-child(2) { animation-delay: 0.15s; }
.chevron:nth-child(3) { animation-delay: 0.3s; }


/* Content Sections */
.info-section {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.content-wrapper.reverse {
    flex-direction: row-reverse;
}

.text-block {
    flex: 1;
}

.text-block h2 {
    color: var(--color-blue);
    margin-bottom: 2rem;
}

.visual-block {
    flex: 1;
    display: flex;
    justify-content: center;
}

.abstract-box {
    width: 100%;
    max-width: 500px;
    height: 400px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--color-charcoal), var(--color-navy));
    opacity: 0.05;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-theme="dark"] .abstract-box {
    opacity: 0.2;
    border: 1px solid rgba(0, 136, 204, 0.3);
    box-shadow: 0 0 30px rgba(0, 136, 204, 0.1);
}

.text-center {
    text-align: center;
    align-items: center;
}

.cta-btn {
    padding: 1.2rem 4rem;
    font-size: 1.4rem;
    background-color: var(--color-blue);
    color: #fff;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 700;
    margin-top: 3rem;
}

.cta-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.5);
}

footer {
    padding: 4rem 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Keyframes */
@keyframes iconPop {
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideIn {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes simpleFade {
    to { opacity: 1; }
}

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

@keyframes chevronPulse {
    0%, 100% { opacity: 0; transform: translateY(-5px); }
    50% { opacity: 1; transform: translateY(5px); }
}


/* Scroll Reveals (Reflexed Style) */
.reveal {
    opacity: 0;
    transform: translateY(80px) scale(0.98);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    filter: blur(5px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Utilities */
.fade-in {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-2 { animation-delay: 1.8s; }
.delay-3 { animation-delay: 2.2s; }

/* Mobile Responsive */
@media (max-width: 900px) {
    body { font-size: 18px; }
    h2 { font-size: 2.5rem; }
    .content-wrapper, .content-wrapper.reverse {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    .logo-container { margin-bottom: 2rem; }
    .scroll-chevrons { bottom: 1.5rem; }
}