/* Design Tokens */
:root {
    --bg-dark: #00020a;       /* Deep space black */
    --surface-glass: rgba(255, 255, 255, 0.02);
    --border-glass: rgba(255, 255, 255, 0.05);
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    
    --brand-primary: #0075a9;  /* From logo */
    --brand-glow-1: rgba(0, 117, 169, 0.4);
    --brand-glow-2: rgba(0, 80, 150, 0.3);
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* --- Environment & Layout --- */

.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    padding: 24px;
    perspective: 1000px;
}

.glass-panel {
    background: var(--surface-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    
    /* Entry Animation */
    transform: translateY(40px) scale(0.98);
    opacity: 0;
    animation: panelEnter 1.2s var(--ease-out-expo) forwards;
}

@keyframes panelEnter {
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* --- Branding Subsystem --- */

.brand-showcase {
    margin-bottom: 48px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Gentle non-distorting levitation animation on the container */
    animation: floatBrand 6s ease-in-out infinite;
}

.logo-wrapper {
    position: relative;
    z-index: 2;
}

.brand-logo {
    display: block;
    width: 240px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(0, 117, 169, 0.3));
    
    /* Reveal Animation for logo */
    opacity: 0;
    transform: translateY(20px);
    animation: revealLogo 1.2s var(--ease-out-expo) 0.3s forwards;
}

/* Soft pulsating aura behind the logo */
.logo-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 60px;
    background: var(--brand-glow-1);
    filter: blur(40px);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    
    /* Pulse size and opacity */
    animation: pulseAura 4s ease-in-out infinite alternate;
}

@keyframes floatBrand {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

@keyframes revealLogo {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseAura {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0.8; }
}

/* --- Content Subsystem --- */

.content-wrapper {
    max-width: 560px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-transform: uppercase;
    
    opacity: 0;
    transform: translateY(10px);
    animation: simpleFadeUp 1s var(--ease-out-expo) 0.5s forwards;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.main-title span {
    background: linear-gradient(135deg, #ffffff 0%, var(--brand-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-title {
    opacity: 0;
    transform: translateY(20px);
    animation: simpleFadeUp 1s var(--ease-out-expo) 0.6s forwards;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 48px;
    font-weight: 400;
    
    opacity: 0;
    transform: translateY(20px);
    animation: simpleFadeUp 1s var(--ease-out-expo) 0.7s forwards;
}

/* --- Actions --- */

.action-area {
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    animation: simpleFadeUp 1s var(--ease-out-expo) 0.8s forwards;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 6px 24px 6px 6px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s var(--ease-out-expo);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.contact-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    background: linear-gradient(90deg, transparent, rgba(0, 117, 169, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 0;
}

.contact-pill:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 117, 169, 0.5);
    box-shadow: 0 0 30px rgba(0, 117, 169, 0.2);
    transform: translateY(-2px);
}

.contact-pill:hover::before {
    transform: translateX(100%);
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #ffffff;
    margin-right: 16px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s var(--ease-out-expo);
}

.contact-pill:hover .icon-circle {
    transform: scale(1.05);
}

.email-text {
    font-size: 1.05rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* --- Reusable Animations --- */

@keyframes simpleFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Atmospheric Background Effects --- */

.background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: radial-gradient(circle at center, #051329 0%, var(--bg-dark) 100%);
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
    animation: driftLayers 25s ease-in-out infinite alternate;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--brand-glow-1);
    transform-origin: center right;
}

.glow-2 {
    bottom: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: var(--brand-glow-2);
    animation-delay: -7s;
    animation-duration: 30s;
}

.glow-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: rgba(13, 37, 63, 0.4);
    animation-delay: -15s;
    animation-duration: 20s;
}

@keyframes driftLayers {
    0% { transform: scale(1) translate(0, 0) rotate(0deg); }
    33% { transform: scale(1.1) translate(5%, 5%) rotate(5deg); }
    66% { transform: scale(0.9) translate(-3%, 8%) rotate(-2deg); }
    100% { transform: scale(1.2) translate(8%, -4%) rotate(3deg); }
}

.noise-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- Mobile Responsiveness --- */

@media (max-width: 768px) {
    .main-title {
        font-size: 2.75rem;
    }
    
    .glass-panel {
        padding: 48px 24px;
        border-radius: 24px;
    }
    
    .brand-logo {
        width: 180px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.25rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .brand-logo {
        width: 160px;
    }
    
    .content-wrapper {
        margin-bottom: 24px;
    }
}
