/* ===================================
   Dextruss Brand Colors
   =================================== */
:root {
    /* Primary Blues */
    --primary-dark-blue: #004080;
    --primary-mid-blue: #0066cc;
    --primary-light-blue: #3399ff;

    /* Secondary Teals */
    --secondary-dark-teal: #006666;
    --secondary-mid-teal: #009999;
    --secondary-light-teal: #33cccc;

    /* Neutrals */
    --text-gray: #666666;
    --white: #ffffff;

    /* Shadows */
    --shadow-md: 0 4px 16px rgba(0, 64, 128, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 64, 128, 0.16);

    /* Spacing */
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-gray);
    background: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ===================================
   Background Orbs
   =================================== */
.background-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 25s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-light-blue), var(--primary-mid-blue));
    top: -200px;
    right: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--secondary-light-teal), var(--secondary-mid-teal));
    bottom: -250px;
    left: -200px;
    animation-delay: 8s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-mid-blue), var(--secondary-mid-teal));
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 16s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 40px) scale(0.95);
    }
}

/* ===================================
   Main Container
   =================================== */
.main-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--spacing-lg);
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
}

/* ===================================
   Logo Section
   =================================== */
.logo-section {
    animation: fadeInDown 0.8s ease-out;
    position: relative;
}

.logo {
    height: auto;
    width: min(350px, 85vw);
    filter: drop-shadow(0 2px 8px rgba(0, 64, 128, 0.08));
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    20% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

/* ===================================
   Status Badge
   =================================== */
.status-section {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: clamp(0.5rem, 1.5vw, 0.625rem);
    padding: clamp(0.75rem, 2.5vw, 1rem) clamp(1.5rem, 5vw, 2rem);
    background: linear-gradient(135deg, var(--primary-mid-blue), var(--secondary-mid-teal));
    color: var(--white);
    border-radius: 100px;
    font-weight: 600;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    letter-spacing: 0.025em;
    box-shadow: var(--shadow-md);
    animation: pulse 3s ease-in-out infinite;
}

.status-dot {
    width: clamp(6px, 2vw, 8px);
    height: clamp(6px, 2vw, 8px);
    background: var(--white);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

.status-text {
    text-transform: uppercase;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-md);
    }
    50% {
        transform: scale(1.03);
        box-shadow: var(--shadow-lg);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ===================================
   Footer
   =================================== */
.footer {
    text-align: center;
    padding: var(--spacing-lg) 0;
    animation: fadeIn 1s ease-out 0.6s both;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 400;
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .main-container {
        padding: 1.5rem 1rem;
    }

    .content-wrapper {
        gap: 2rem;
    }

    .logo {
        width: min(280px, 80vw);
    }

    .orb {
        filter: blur(60px);
    }

    .orb-1 {
        width: 350px;
        height: 350px;
    }

    .orb-2 {
        width: 400px;
        height: 400px;
    }

    .orb-3 {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: min(240px, 75vw);
    }

    .footer-text {
        font-size: 0.8125rem;
    }
}

/* ===================================
   Landscape orientation on mobile
   =================================== */
@media (max-height: 600px) and (orientation: landscape) {
    .main-container {
        padding: 1rem;
    }

    .content-wrapper {
        gap: 1.5rem;
    }

    .logo {
        width: min(200px, 30vw);
    }
}

/* ===================================
   Accessibility
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-mid-blue);
    outline-offset: 2px;
}
