*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --sage: #3C7A5E;
    --sage-deep: #2C5F4D;
    --sage-light: #4A9471;
    --sage-pale: #E8F3ED;
    --cream: #FAF8F5;
    --text-dark: #1E3A24;
    --text-muted: #8A9A8D;
    --white: #FFFFFF;
    --border: #E5DDD3;
    --red: #C4524A;
    --red-bg: #FFF5F3;
    --radius: 16px;
    --shadow-lg: 0 12px 40px rgba(60,122,94,0.12);
}
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--cream) 0%, var(--sage-pale) 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    -webkit-font-smoothing: antialiased;
}
.card {
    max-width: 440px;
    width: 100%;
    padding: 44px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.logo {
    text-align: center;
    margin-bottom: 28px;
    font-size: 32px;
}
.logo-simply {
    font-family: 'Crimson Pro', serif;
    font-style: italic;
    font-weight: 400;
    color: #7BA88A;
}
.logo-here {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #2C5F4D;
}
.card h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4px;
    color: var(--sage);
}
.subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-dark);
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
    background: var(--white);
    color: var(--text-dark);
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(60,122,94,0.1);
}
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.checkbox-row input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}
.checkbox-row label {
    display: inline;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 0;
    cursor: pointer;
}
.trial-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
    margin-bottom: 4px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
    background: var(--sage);
    color: white;
}
.btn:hover { background: var(--sage-light); box-shadow: 0 4px 12px rgba(60,122,94,0.2); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}
.alert-error { background: var(--red-bg); color: var(--red); border: 1px solid #F5CDC9; }
.alert-success { background: var(--sage-pale); color: var(--sage); border: 1px solid #B8D8C8; }
.back-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}
.back-link a { color: var(--sage); text-decoration: none; font-weight: 600; }
.back-link a:hover { text-decoration: underline; }
.spinner {
    display: inline-block;
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none; }
.success-view { text-align: center; padding: 20px 0; }
.success-view .icon { font-size: 48px; margin-bottom: 16px; color: var(--sage); }
.success-view h1 { margin-bottom: 12px; }
.success-view p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; line-height: 1.7; }
.success-view .btn { text-decoration: none; }
@media (max-width: 480px) {
    body { padding: 24px 12px; }
    .card { padding: 28px 20px; }
    .logo { font-size: 26px; }
    .card h1 { font-size: 22px; }
}
