/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-color: #ff8c00;
    /* Deep industrial orange */
    --accent-color: #ffd700;
    /* Gold/Yellow for subtle highlights */
    --electric-blue: #00f3ff;
    /* Electric effect color */
    --text-light: #ffffff;
    --text-dim: #b0b0b0;
    --glass-bg: rgba(20, 20, 25, 0.6);
    /* Darker, more premium glass */
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-light);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #050505;
}

/* Background Handling */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    filter: blur(2px) brightness(0.4);
    animation: breathe 30s infinite alternate;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #000000 90%);
    opacity: 0.8;
    z-index: 1;
}

#electric-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Above overlay, below content */
    pointer-events: none;
    opacity: 0.6;
    /* Subtle effect */
    mix-blend-mode: screen;
}

/* Layout */
.content-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo */
.logo-container {
    margin-bottom: 40px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}

.logo {
    max-width: 380px;
    width: 90%;
    height: auto;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.logo:hover {
    transform: scale(1.03) translateY(-5px);
}

/* Glass Card */
.glass-card {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--card-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
    position: relative;
    overflow: hidden;
}

/* Shine Effect */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shine 8s infinite linear;
}

/* Electric Border Pulse (New) */
.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: linear-gradient(45deg, transparent, var(--primary-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    animation: borderRotate 4s linear infinite;
    pointer-events: none;
}

@keyframes borderRotate {
    0% {
        filter: hue-rotate(0deg);
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        filter: hue-rotate(360deg);
        opacity: 0.3;
    }
}

.info-container {
    position: relative;
    z-index: 1;
}

/* Typography */
h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, #ccc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 30px;
    display: inline-block;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

.divider {
    height: 1px;
    width: 60%;
    margin: 0 auto 35px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Contact Details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-dim);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: left;
    position: relative;
    overflow: hidden;
}

/* Electric Arc on Hover (Contact Item) */
.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 140, 0, 0.4);
    transform: translateX(5px);
    color: var(--text-light);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.15);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 40px;
    min-width: 40px;
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    text-shadow: 0 0 8px var(--primary-color);
}

.contact-item span {
    line-height: 1.5;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes breathe {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1.15);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .glass-card {
        padding: 40px 25px;
    }

    h1 {
        font-size: 2.2rem;
    }

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

    .contact-item {
        font-size: 0.95rem;
        padding: 12px 15px;
    }
}