@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --apple-bg: #fbfbfd;
    --apple-text: #1d1d1f;
    --apple-text-muted: #86868b;
    --apple-blue: #0066cc;
    --apple-blue-hover: #0077ed;
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(0, 0, 0, 0.1);
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--apple-bg);
    color: var(--apple-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* Cinematic Background - Apple Light Style */
.hero-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/wow-auth-bg.png') no-repeat center center/cover;
    z-index: -1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, rgba(250, 250, 252, 0.8) 100%);
}

/* Floating Container - Refined Glassmorphism (Light) */
.floating-container {
    width: 100%;
    max-width: 420px;
    padding: 48px;
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    animation: apple-entry 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    z-index: 1;
}

@keyframes apple-entry {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typography */
h1.premium-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 8px;
    text-align: center;
}

p.premium-subtitle {
    font-size: 17px;
    color: var(--apple-text-muted);
    text-align: center;
    margin-bottom: 32px;
    /* Reduced from 40px to accommodate quote */
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Quote Styling - Apple Gradient Style (Enhanced) */
.quote-container {
    margin: 0 auto 36px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(88, 86, 214, 0.08) 0%, rgba(0, 122, 255, 0.08) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(88, 86, 214, 0.2);
    position: relative;
    text-align: center;
    box-shadow: 0 4px 15px rgba(88, 86, 214, 0.05);
}

.quote-icon {
    font-size: 18px;
    background: linear-gradient(135deg, #5856D6, #007AFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
    margin-bottom: 12px;
    display: block;
}

.premium-quote {
    font-size: 17px;
    line-height: 1.6;
    color: #1d1d1f;
    /* Strong dark color for readability */
    font-style: italic;
    font-weight: 600;
    /* Bolder font */
    letter-spacing: -0.01em;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* Form Styling - Apple Premium Input (Fixed Labels) */
.input-group {
    position: relative;
    margin-bottom: 28px;
}

.input-group input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    background: #ffffff;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    color: var(--apple-text);
    font-size: 17px;
    outline: none;
}

.input-group input:focus {
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.input-group label {
    position: absolute;
    top: 0;
    left: 10px;
    transform: translateY(-50%) scale(0.8);
    background: #ffffff;
    padding: 0 4px;
    color: var(--apple-text-muted);
    font-size: 17px;
    font-weight: 600;
    pointer-events: none;
    border-radius: 4px;
    z-index: 2;
}

.input-group input:focus+label {
    color: var(--apple-blue);
}

/* Button */
.btn-premium {
    width: 100%;
    height: 52px;
    background-color: var(--apple-blue);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 12px;
}

.btn-premium:hover {
    background-color: var(--apple-blue-hover);
    transform: scale(1.01);
}

.btn-premium:active {
    transform: scale(0.98);
}

/* Links */
.back-link,
.bottom-link {
    display: block;
    text-align: center;
    margin-top: 24px;
    color: var(--apple-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

.back-link:hover,
.bottom-link:hover {
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    text-align: center;
}

.alert-error {
    background: #fff2f2;
    color: #df1b12;
    border: 1px solid #ffcfcc;
}

.alert-success {
    background: #f2fff5;
    color: #008020;
    border: 1px solid #ccffda;
}

.decor-circle {
    position: fixed;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

.circle-1 {
    top: -10%;
    left: -10%;
}

.circle-2 {
    bottom: -10%;
    right: -10%;
}