@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

body {
    height: 100vh;
    background: radial-gradient(circle at top, #050b14, #000);
    overflow: hidden;
}

/* Cosmic background */
.universe {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(0,255,255,0.08), transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(255,0,255,0.05), transparent 45%);
}

/* Energy core */
.energy-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 450px;
    height: 450px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(0,255,255,0.35), rgba(0,255,255,0.05), transparent 70%);
    filter: blur(40px);
    animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
    0%,100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.15); }
}

/* Scanline */
.scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,255,255,0.15) 50%,
        transparent 100%
    );
    animation: scan 5s linear infinite;
}

@keyframes scan {
    from { background-position: 0 -100%; }
    to { background-position: 0 200%; }
}

/* Main container */
.container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(6px);
}

/* Brand */
.brand {
    font-size: 5rem;
    letter-spacing: 12px;
    color: #00ffff;
    text-shadow:
        0 0 20px rgba(0,255,255,0.9),
        0 0 60px rgba(0,255,255,0.4);
}

/* Tagline */
.tagline {
    margin-top: 10px;
    letter-spacing: 4px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* Divider */
.divider {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    margin: 50px 0;
}

/* Login button */
.login-btn {
    padding: 20px 70px;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 4px;
    color: #000;
    background: linear-gradient(135deg, #00ffff, #00ff9c);
    box-shadow:
        0 0 35px rgba(0,255,255,0.9),
        inset 0 0 15px rgba(255,255,255,0.6);
    transition: all 0.35s ease;
}

.login-btn:hover {
    transform: scale(1.1);
    box-shadow:
        0 0 60px rgba(0,255,255,1),
        inset 0 0 20px rgba(255,255,255,0.8);
}

/* Top bar */
.top-bar {
    position: absolute;
    top: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.company {
    font-size: 0.85rem;
    letter-spacing: 6px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0,255,255,0.4);
}

/* Adjust container to respect header */
.container {
    position: relative;
    height: 100%;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(6px);
}


@media (max-width: 768px) {
    .main-title {
        font-size: 36px;
        line-height: 1.2;
        text-align: center;
    }

    .company-name {
        font-size: 14px;
        letter-spacing: 2px;
    }
    .brand{
      font-size: 2.2rem;
    }
}

button {
    min-height: 44px; /* Apple HIG */
    touch-action: manipulation;
}