/* style.css */
:root {
    --bg-base: #030108;
    --glass-bg: rgba(20, 10, 40, 0.35);
    --purple-neon: #b473ff;
    --purple-deep: #5e17eb;
    --text-light: #ffffff;
    --text-muted: #a395c4;
    --border-glass: rgba(180, 115, 255, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-light);
    overflow-x: hidden;
    /* Allows scrolling on small screens */
    overflow-y: auto; 
    position: relative;
    min-height: 100vh;
}

/* --- BACKGROUND FX --- */
.background-fx {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: var(--bg-base);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-1 { width: 600px; height: 600px; background: #4b0082; top: -10%; left: -10%; }
.orb-2 { width: 500px; height: 500px; background: #8a2be2; bottom: -10%; right: -5%; animation-delay: -5s; }
.orb-3 { width: 400px; height: 400px; background: #2a0052; top: 40%; left: 40%; animation-delay: -10s; }

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(180, 115, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180, 115, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* --- MASTER LAYOUT --- */
.master-container {
    max-width: 1280px;
    margin: 0 auto;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50/50 Split */
    gap: 60px;
    padding: 40px 30px 80px 30px; /* Extra bottom padding for footer */
    align-items: center; /* Vertically centers both columns */
}

/* --- LEFT COLUMN: HERO --- */
.hero-column {
    display: flex;
    justify-content: flex-end; /* Pushes content towards center on large screens */
}

.hero-content {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Logo 3D Stage */
.logo-stage {
    perspective: 1000px;
    width: 280px;
    margin-bottom: 30px;
}

.logo-core {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    animation: autonomousFloat 8s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
    will-change: transform;
}

.logo-render {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.8));
    position: relative;
    z-index: 2;
}

.metallic-sheen {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: color-dodge;
    mask-image: url('purple.png');
    -webkit-mask-image: url('purple.png');
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.4) 40%, rgba(218,179,255,0.8) 50%, rgba(255,255,255,0.4) 60%, transparent 80%);
    background-size: 250% 250%;
    animation: autonomousSweep 6s infinite linear;
}

/* Typography */
.badge {
    display: inline-block;
    background: rgba(180, 115, 255, 0.1);
    border: 1px solid rgba(180, 115, 255, 0.3);
    color: var(--purple-neon);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    background: linear-gradient(180deg, #ffffff 40%, #c19cf5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

/* --- RIGHT COLUMN: CONTACT --- */
.contact-column {
    display: flex;
    justify-content: flex-start;
}

.glass-hub {
    width: 100%;
    max-width: 480px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.icon-sphere {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-neon);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.contact-info p, .contact-info span {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-card:hover { transform: translateX(8px); }
.contact-card:hover .icon-sphere { background: rgba(180, 115, 255, 0.15); border-color: var(--purple-neon); color: #fff; }
.contact-card:hover .contact-info h3 { color: var(--purple-neon); }

/* --- FOOTER --- */
.site-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(163, 149, 196, 0.4);
    letter-spacing: 0.05em;
    z-index: 10;
}

/* --- ANIMATIONS --- */
@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}
@keyframes autonomousFloat {
    0% { transform: translateY(0px) rotateX(8deg) rotateY(-15deg); }
    50% { transform: translateY(-20px) rotateX(-5deg) rotateY(15deg); }
    100% { transform: translateY(0px) rotateX(8deg) rotateY(-15deg); }
}
@keyframes autonomousSweep {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 992px) {
    .master-container {
        grid-template-columns: 1fr; /* Stacks to 1 column */
        padding: 60px 20px;
        gap: 50px;
        min-height: auto; /* Allow natural scrolling */
    }
    
    .hero-column, .contact-column {
        justify-content: center;
    }
    
    .hero-content {
        align-items: center; /* Center everything on mobile */
        text-align: center;
    }
    
    .logo-stage { margin: 0 auto 30px auto; }
    
    h1 { font-size: 2.8rem; }
    
    .glass-hub {
        padding: 30px 25px;
        max-width: 100%;
    }
    
    .contact-card { text-align: left; } /* Keep text readable */
    
    .site-footer {
        position: relative; /* Stops footer from overlapping */
        padding: 20px 0 30px 0;
        bottom: auto;
    }
}