@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --bg-color: #0f1012;
    --text-color: #ffffff;
    --accent-color: #00c7b1;
    --accent-dark: #008c8a;
    --border-color: #333333;
    --input-bg: #1a1b1d;
    --font-stack: 'Roboto', 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Background Effect */
.hero-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120vw;
    height: 120vh;
    background: radial-gradient(circle, rgba(0, 199, 177, 0.12) 0%, rgba(15, 16, 18, 0) 60%);
    pointer-events: none;
    z-index: -1;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background-color: transparent;
    /* Seamless with body */
    z-index: 10;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-color);
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.6rem;
    color: #888;
    margin-top: -2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.2s;
}

nav a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.header-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.9rem;
}

/* Main Content Layout */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

/* Top Section: Text pushed up */
.hero-top {
    margin-top: 4vh;
    /* Adjust to move text vertically */
    margin-bottom: 4rem;
}

.kicker {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

/* Center Section: Actions */
.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
    max-width: 400px;
}

/* Microsoft Button */
.ms-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #2f2f2f;
    padding: 0.8rem 2rem;
    border: 1px solid #444;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    transition: background-color 0.2s, transform 0.1s;
    width: 100%;
    justify-content: center;
    cursor: pointer;
}

.ms-btn:hover {
    background-color: #3a3a3a;
    transform: translateY(-2px);
}

/* CSS-Only Microsoft Logo */
.ms-logo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    width: 20px;
    /* Size of the icon */
    height: 20px;
}

.ms-logo div {
    width: 100%;
    height: 100%;
}

.ms-logo div:nth-child(1) {
    background-color: #f25022;
}

/* Red */
.ms-logo div:nth-child(2) {
    background-color: #7fba00;
}

/* Green */
.ms-logo div:nth-child(3) {
    background-color: #00a4ef;
}

/* Blue */
.ms-logo div:nth-child(4) {
    background-color: #ffb900;
}

/* Yellow */

/* Error Form Centered */
.error-container {
    width: 100%;
    text-align: left;
}

.error-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #888;
    text-align: center;
}

.input-group {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.2s;
}

.input-group:focus-within {
    border-color: var(--accent-color);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 0.5rem;
    font-family: inherit;
}

.input-group input:focus {
    outline: none;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    padding: 0 1rem;
    font-size: 1rem;
}

.btn-icon:hover {
    color: white;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 600px;
    height: 80vh;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

iframe {
    width: 100%;
    height: 100%;
}