/** Theme Variables **/
:root {
    /* Primary Colors */
    --primary-color: #ffffff;
    --primary-alpha: rgba(255, 255, 255, 0.8);
    --accent-color: #4d79ff;
    --success-color: #4CAF50;

    /* Background Colors */
    --bg-color: #000428;
    --glass-bg: rgba(255, 255, 255, 0.03);

    /* Glass Effects */
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.2);
    --glass-btn-bg: rgba(255, 255, 255, 0.05);
    --glass-btn-hover: rgba(255, 255, 255, 0.1);

    /* Text Colors */
    --text-primary: rgba(255, 255, 255, 0.7);
    --text-hover: rgba(255, 255, 255, 0.9);

    /* Animations */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background: var(--bg-color);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/** Layout **/
header {
    position: fixed;
    width: 100%;
    padding: 1rem;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

main {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 2rem;
    scroll-margin-top: 5rem;
}

/** Typography **/
h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glass-shadow);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/** Logo Section **/
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    text-align: center;
    cursor: pointer;
}

.logo-container:hover .subtitle::after {
    transform: scaleX(1);
}

.logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--glass-border);
    padding: 1.5rem 4rem;
    position: relative;
    background: var(--glass-bg);
    box-shadow: 0 0 30px var(--glass-shadow);
    backdrop-filter: blur(5px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    animation: pulseGlow 15s infinite;
}

.logo-box {
    h1 {
        margin-bottom: 0 !important;
    }
}

.logo-box:before,
.logo-box:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-alpha);
    transition: var(--transition);
}

.logo-box:before {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
}

.logo-box:after {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
}

.logo-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 40px var(--glass-shadow);
    transform: scale(1);
}

.subtitle {
    position: relative;
    font-size: 1.8rem;
    letter-spacing: 4px;
    margin-top: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    text-shadow: 0 0 15px var(--glass-shadow);
}

.subtitle::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.5, 0, 0.2, 1);
    box-shadow: 0 0 10px var(--primary-color);
}

.tag-line {
    font-size: 1.2rem;
    margin-top: 2rem;
    color: var(--primary-alpha);
    text-align: center;
    max-width: 600px;
    line-height: 1.8;
    letter-spacing: 1px;
    font-weight: 300;
    transition: var(--transition);
    cursor: pointer;
}

.tag-line:hover {
    color: var(--primary-color);
}

/** Media Queries **/
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .logo-box {
        padding: 1.5rem 2.5rem;
    }

    .subtitle {
        font-size: 1.4rem;
        letter-spacing: 3px;
    }

    .tag-line {
        font-size: 1rem;
        padding: 0 1rem;
    }
}