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

:root {
    --kuon-bg: #e5dfd1;
    --primary-color: #1a1a1a;
    --accent-color: #c41e3a;
    --metallic-silver: #c0c0c0;
    --light-gray: #f5f5f5;
    --text-dark: #333;
    --text-light: #666;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: var(--kuon-bg);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--kuon-bg);
    padding: 2rem;
    box-sizing: border-box;
}

header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: transparent;
    box-shadow: none;
    border: none;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    background: transparent;
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0;
}

.logo {
    width: auto;
    height: auto;
    max-width: min(88vw, 600px);
    max-height: min(88vh, 600px);
    object-fit: contain;
    object-position: center center;
    display: block;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Utility buttons and status styles for auth */
.btn {
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    background: #1a1a1a;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 201;
}
.btn-primary { background: #1a1a1a; }
.btn:hover { opacity: .9; }
.cta {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    z-index: 200;
    margin-top: 2rem;
    background: transparent;
    box-shadow: none;
    border: none;
}
.status {
    font-size: 14px;
    color: rgba(0,0,0,0.75);
    text-align: center;
    max-width: 400px;
}

#setup-instructions {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#setup-instructions a {
    color: #1a73e8;
    text-decoration: underline;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.brand-name {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--metallic-silver) 0%, #8a8a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

main {
    margin: 4rem 0;
}

.hero {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

footer {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: right;
    z-index: 100;
    background: transparent;
    margin: 0;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .logo {
        max-width: min(95vw, 500px);
        max-height: min(70vh, 500px);
        object-fit: contain;
    }
    
    .cta {
        margin-top: 1.5rem;
    }
    
    footer {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }
    
    .logo {
        max-width: min(95vw, 400px);
        max-height: min(60vh, 400px);
        object-fit: contain;
    }
    
    .cta {
        margin-top: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    footer {
        font-size: 0.75rem;
        padding: 0.5rem;
    }
}
