/* ========================================
   EMC Defense — Corporate Coming Soon Page
   ======================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-base: #030712;
    --bg-surface: #0f172a;
    --color-primary: #2563eb;
    --color-primary-light: #3b82f6;
    --color-accent: #60a5fa;
    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-text-faint: #475569;
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --grid-color: rgba(255, 255, 255, 0.04);
}

html, body {
    height: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--bg-base);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Corporate Background ---------- */
.bg-corporate {
    position: fixed;
    inset: 0;
    z-index: -3;
    background: radial-gradient(circle at top, var(--bg-surface) 0%, var(--bg-base) 100%);
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
}

.bg-glow {
    position: absolute;
    top: -20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 60vh;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
    pointer-events: none;
}

/* ---------- Hero Section ---------- */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.5rem, 3vh, 2rem) 1.5rem;
}

.hero__inner {
    text-align: center;
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ---------- Logo ---------- */
.logo {
    margin-bottom: clamp(1rem, 4vh, 2rem);
    position: relative;
}

.logo__image-wrap {
    display: inline-block;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.logo__image-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(59, 130, 246, 0.1);
}

.logo__image {
    display: block;
    width: clamp(180px, 30vw, 400px);
    max-height: 25vh;
    object-fit: contain;
    border-radius: 16px;
}

/* ---------- Typography ---------- */
.brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 3.5rem);
    letter-spacing: 0.15em;
    color: var(--color-text);
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-primary-light), transparent);
    margin: clamp(0.75rem, 3vh, 1.5rem) auto;
    border-radius: 2px;
}

.tagline {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1rem, 2.5vh, 1.8rem);
    color: var(--color-accent);
    letter-spacing: 0.05em;
    margin: 0 0 clamp(0.75rem, 3vh, 1.5rem);
    text-transform: uppercase;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.description {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* ---------- Status Indicator ---------- */
.status {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 2.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.status:hover {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(59, 130, 246, 0.4);
}

.status__indicator {
    position: relative;
    width: 10px;
    height: 10px;
    background: var(--color-primary-light);
    border-radius: 50%;
}

.status__indicator::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--color-primary-light);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status__text {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    color: var(--color-text);
    text-transform: uppercase;
}

/* ---------- Contact Info ---------- */
.contact-info {
    margin-top: clamp(1rem, 4vh, 2rem);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--color-text-muted);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link svg {
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-link:hover {
    color: var(--color-text);
}

.contact-link:hover svg {
    opacity: 1;
    transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.site-footer {
    text-align: center;
    padding: clamp(1rem, 3vh, 2rem) 1.5rem;
    color: var(--color-text-faint);
    font-size: clamp(0.85rem, 2vh, 1.05rem);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(10px);
    margin-top: auto;
    animation: fadeIn 1s ease-out 0.6s both;
}

.site-footer p {
    margin: 0.4rem 0;
}

.site-footer__meta {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    opacity: 0.8;
}

.site-footer__meta a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.site-footer__meta a:hover {
    color: var(--color-accent);
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .bg-grid { background-size: 30px 30px; }
    .hero { padding: 1.5rem 1rem; }
    .status { padding: 0.5rem 1.2rem; }
}

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