:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #64748b;
    --danger: #dc2626;
    --warning: #d97706;
    --success: #059669;
    --info: #0284c7;
    --dark: #0f172a;
    --dark-medium: #1e293b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --radius-sm: 8px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gray-100);
    color: var(--dark);
    line-height: 1.5;
    min-height: 100vh;
}

.landing-body {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 50%, #1e293b 100%);
    min-height: 100vh;
}

.landing-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 24px;
    min-height: 100vh;
}

.form-container {
    max-width: 420px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
}

.landing-body .form-container {
    padding-top: 60px;
}

.landing-body .form-header,
.landing-body .form-body {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.landing-body .form-header {
    border-radius: 16px 16px 0 0;
    padding: 28px;
}

.landing-body .form-body {
    border-radius: 0 0 16px 16px;
    padding: 24px;
}

.landing-body .form-header h1 {
    color: var(--dark);
}

.landing-body .form-header p {
    color: var(--gray-500);
}

.landing-body .back-link {
    color: var(--primary);
}

.landing-body .form-label {
    color: var(--dark-medium);
}

.landing-body .form-input {
    background: white;
    border: 2px solid var(--gray-200);
}

.landing-body .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.hero-section {
    text-align: center;
    padding: 40px 16px;
    color: white;
}

.hero-icon-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.6);
    animation: pulse-glow 2s ease-in-out infinite;
    position: relative;
}

.hero-icon-circle::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.3);
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 80px rgba(59, 130, 246, 0.8);
        transform: scale(1.05);
    }
}

@keyframes pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.2;
    }
}

.hero-icon {
    font-size: 3.5rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
    max-width: 320px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.form-header {
    background: white;
    padding: 28px;
    border-radius: var(--radius) var(--radius) 0 0;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.back-link {
    display: inline-block;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.form-header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-header p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.form-body {
    background: white;
    padding: 24px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark-medium);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.2s;
    background: var(--gray-50);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.form-help {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 4px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
}

.btn-lg {
    padding: 16px 24px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.alert {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-info {
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid #bfdbfe;
}

.text-center {
    text-align: center;
}

.text-sm {
    font-size: 0.85rem;
}

.text-muted {
    color: var(--gray-500);
}

.mt-20 {
    margin-top: 20px;
}

.mb-15 {
    margin-bottom: 15px;
}

.link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.features-section {
    padding: 30px 0;
}

.benefits-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.benefit-item {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: white;
    padding: 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.benefit-icon {
    font-size: 1.2rem;
}

.cta-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.landing-footer {
    text-align: center;
    padding: 30px 20px;
    color: white;
    opacity: 0.8;
}

.footer-small {
    font-size: 0.75rem;
    margin-top: 8px;
}

.form-switch {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-check-input {
    width: 50px;
    height: 26px;
    cursor: pointer;
}

.form-check-label {
    font-size: 0.95rem;
    cursor: pointer;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}
