/* ============================================
   CSS Variables & Base Styles
   ============================================ */
:root {
    /* Industrial Theme Colors */
    --industrial-50: #f0f9ff;
    --industrial-100: #e0f2fe;
    --industrial-200: #bae6fd;
    --industrial-300: #7dd3fc;
    --industrial-400: #38bdf8;
    --industrial-500: #0ea5e9;
    --industrial-600: #0284c7;
    --industrial-700: #0369a1;
    --industrial-800: #075985;
    --industrial-900: #0c4a6e;
    --industrial-950: #082f49;

    /* Safety Colors */
    --safety-400: #fbbf24;
    --safety-500: #f59e0b;
    --safety-600: #d97706;

    /* Concrete/Slate Colors */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-800: #1e293b;

    /* Other Colors */
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--slate-50);
    background-color: var(--industrial-950);
    /*min-height: 100vh;*/
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

/* ============================================
   Loading Screen
   ============================================ */
.loading-screen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--slate-50);
    z-index: 9999;
}

.loader-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--industrial-200);
    border-top-color: var(--industrial-600);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Login Page Base
   ============================================ */
.login-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    align-items: flex-start;
    justify-content: center;
    background-color: var(--industrial-950);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    position: relative;
    padding-bottom: 45px;
}
@media (min-width: 1024px) {
    .login-page {
        align-items: center;
        min-height: 100vh;
    }
}

/* ============================================
   Background Effects
   ============================================ */
.background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    mix-blend-mode: screen;
}

.blob-1 {
    top: -10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background-color: var(--industrial-500);
    animation: pulse-slow 4s ease-in-out infinite;
}

.blob-2 {
    bottom: -10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background-color: var(--safety-500);
    opacity: 0.2;
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

/* ============================================
   Content Wrapper
   ============================================ */
.content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

/* ============================================
   Left Column - Branding
   ============================================ */
.branding-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    animation: slideInRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (min-width: 1024px) {
    .branding-column {
        align-items: flex-start;
        text-align: left;
    }
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(20px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Brand Header */
.brand-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo-wrapper {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 1rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.brand-text {
    color: var(--white);
}

.brand-title {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1;
}

.brand-highlight {
    color: var(--industrial-400);
}

/* Hero Section */
.hero-section {
    max-width: 32rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-highlight {
    color: var(--safety-500);
    display: inline-block;
}

.hero-description {
    color: rgba(224, 242, 254, 0.8);
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 300;
}

/* Lottie Animation */
.lottie-container {
    width: 100%;
    max-width: 16rem;
    opacity: 0.9;
    mix-blend-mode: lighten;
}

@media (min-width: 1024px) {
    .lottie-container {
        display: block;
        max-width: 24rem;
    }
}

/* ============================================
   Right Column - Login Card
   ============================================ */
.login-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

@media (min-width: 1024px) {
    .login-column {
        align-items: flex-end;
    }
}

.login-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.3);
    border-radius: 2rem;
    overflow: hidden;
    padding: 1rem;
}

@media (min-width: 1024px) {
    .login-card {
        padding: 3rem;
    }
}

/* Glass Shard Decoration */
.glass-shard {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: -8rem;
    margin-top: -7rem;
    width: 10rem;
    height: 10rem;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 50%;
    filter: blur(24px);
    pointer-events: none;
}
@media (min-width: 1024px) {
    .glass-shard {
        margin-right: -5rem;
        margin-top: -5rem;
    }
}
/* Card Header */
.card-header {
    margin-bottom: 1rem;
}
@media (min-width: 1024px) {
    .card-header {
        margin-bottom: 2rem;
    }
}

.card-header.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--industrial-50);
}

.card-subtitle {
    color: var(--industrial-400);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* ============================================
   Initial View (Button)
   ============================================ */
.initial-view {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Primary Button */
.primary-btn {
    position: relative;
    width: 100%;
    padding: 1rem;
    background-color: var(--industrial-900);
    color: var(--white);
    border: none;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 25px 50px -12px rgba(12, 74, 110, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.primary-btn:hover {
    background-color: var(--industrial-800);
    transform: translateY(-4px);
}

.primary-btn .btn-stripe {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        var(--safety-500),
        var(--safety-500) 10px,
        var(--safety-600) 10px,
        var(--safety-600) 20px
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.primary-btn:hover .btn-stripe {
    opacity: 0.1;
}

.primary-btn span,
.primary-btn svg {
    position: relative;
    z-index: 10;
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.primary-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ============================================
   Site Footer
   ============================================ */
.site-footer {
    position: fixed;
    bottom: 0.5rem;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Inter', sans-serif;
}

.site-footer p {
    margin: 0;
}

.home svg{
    height: auto;
    width: 50px;
    max-width: 50%;
}
.home{
    color: #4646f8;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    margin-top: 50px;
}