:root {
    --primary-color: #2c5f2d;
    --primary-dark: #1e4220;
    --primary-light: #3d7c40;
    --secondary-color: #97bc62;
    --accent-color: #f4a261;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --light-bg: rgba(255, 255, 255, 0.95);
    --error-color: #e74c3c;
    --success-color: #27ae60;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Raleway', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* Hero Background - Beautiful Gradient */
.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #2c5f2d 0%,
        #1e4220 20%,
        #3d7c40 40%,
        #4a9f4e 60%,
        #2c5f2d 80%,
        #1e4220 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes backgroundZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(44, 95, 45, 0.75) 0%,
        rgba(30, 66, 32, 0.80) 30%,
        rgba(76, 175, 80, 0.70) 50%,
        rgba(139, 195, 74, 0.75) 70%,
        rgba(44, 95, 45, 0.80) 100%
    );
    z-index: -1;
    animation: overlayPulse 15s ease-in-out infinite;
}

@keyframes overlayPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
}

/* Landing Container */
.landing-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.landing-header {
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.company-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.company-tagline {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    min-height: calc(100vh - 200px);
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Text */
.hero-text {
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1);
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 40px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: iconPulse 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.2s);
}

.feature-item:nth-child(1) { --i: 0; }
.feature-item:nth-child(2) { --i: 1; }
.feature-item:nth-child(3) { --i: 2; }

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Login Card */
.login-card {
    background: var(--light-bg);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: cardFloat 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(151, 188, 98, 0.1) 0%, transparent 70%);
    animation: cardShine 8s linear infinite;
    pointer-events: none;
}

@keyframes cardShine {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h3 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Login Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.error-message {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid var(--error-color);
    color: var(--error-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.error-message:empty {
    display: none;
}

.form-group {
    position: relative;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-light);
    font-size: 1rem;
    z-index: 1;
    pointer-events: none;
}

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Raleway', sans-serif;
    background: var(--white);
    transition: all 0.3s ease;
    outline: none;
}

.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(44, 95, 45, 0.1);
    transform: translateY(-2px);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.remember-me label {
    color: var(--text-light);
    cursor: pointer;
    user-select: none;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.login-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border: none;
    padding: 1.1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    margin-top: 0.5rem;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn i {
    transition: transform 0.3s ease;
}

.login-btn:hover i {
    transform: translateX(5px);
}

/* Footer */
.landing-footer {
    padding: 2rem 4rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background-color: var(--success-color);
}

.notification.error {
    background-color: var(--error-color);
}

.notification.warning {
    background-color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .landing-header {
        padding: 1.5rem 2rem;
    }

    .company-logo {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .login-card {
        padding: 2rem 1.5rem;
    }

    .landing-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem 2rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero-background {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .login-card {
        padding: 1.5rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(1200px 600px at 15% 10%, rgba(151, 188, 98, 0.18) 0%, rgba(151, 188, 98, 0) 60%),
        radial-gradient(900px 500px at 85% 20%, rgba(244, 162, 97, 0.14) 0%, rgba(244, 162, 97, 0) 55%),
        linear-gradient(135deg, #0f2b18 0%, #1e4220 40%, #2c5f2d 100%);
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 43, 24, 0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    gap: 0.1rem;
    text-decoration: none;
    color: var(--white);
}

.brand-mark {
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: -0.2px;
}

.brand-sub {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: var(--white);
}

.nav-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.55rem 0.6rem;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    margin: 4px 0;
    border-radius: 2px;
}

.hero {
    padding: 3.5rem 0 2.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

.hero-copy h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
    letter-spacing: -0.8px;
    margin-bottom: 0.75rem;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero-copy p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 52ch;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 14px;
    padding: 0.95rem 1.1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, rgba(151, 188, 98, 0.95), rgba(44, 95, 45, 0.95));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.btn-ghost {
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
}

.btn-full {
    width: 100%;
}

.hero-highlights {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.9);
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
}

.highlight i {
    color: rgba(151, 188, 98, 0.95);
}

.hero-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 22px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.hero-card-header {
    padding: 1.25rem 1.25rem 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-card-title {
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--text-dark);
}

.hero-card-sub {
    margin-top: 0.25rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.section {
    padding: 3rem 0;
}

.section-alt {
    background: rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-head {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.section-head h2 {
    color: var(--white);
    font-size: 1.75rem;
    letter-spacing: -0.4px;
}

.section-head p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    max-width: 70ch;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
}

.card-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(44, 95, 45, 0.10);
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.45rem;
}

.card p {
    color: var(--text-light);
    line-height: 1.55;
}

.panel {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 22px;
    padding: 1.25rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.panel-narrow {
    width: min(520px, 100%);
}

.form {
    padding: 1.15rem 1.25rem 1.35rem;
    display: grid;
    gap: 0.85rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.is-hidden {
    display: none !important;
}

.field {
    display: grid;
    gap: 0.35rem;
}

.field-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: rgba(45, 52, 54, 0.9);
}

.form input,
.form select,
.form textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0.85rem 0.95rem;
    font-size: 1rem;
    font-family: 'Raleway', sans-serif;
    background: rgba(255, 255, 255, 0.98);
    outline: none;
}

.form textarea {
    resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    border-color: rgba(44, 95, 45, 0.55);
    box-shadow: 0 0 0 4px rgba(44, 95, 45, 0.12);
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.check {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(45, 52, 54, 0.85);
    font-weight: 600;
}

.check input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.banner {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.banner i {
    margin-top: 0.15rem;
}

.banner-title {
    font-weight: 900;
    line-height: 1.2;
}

.banner-sub {
    margin-top: 0.1rem;
    line-height: 1.45;
}

.banner-success {
    background: rgba(39, 174, 96, 0.10);
    border-color: rgba(39, 174, 96, 0.25);
    color: rgba(22, 110, 63, 1);
}

.banner-error {
    background: rgba(231, 76, 60, 0.10);
    border-color: rgba(231, 76, 60, 0.25);
    color: rgba(140, 33, 24, 1);
}

.site-footer {
    padding: 1.6rem 0;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
    flex-wrap: wrap;
    text-align: center;
}

.footer-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-actions a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
}

.footer-actions a:hover {
    color: var(--white);
}

@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .site-nav {
        position: absolute;
        right: 1rem;
        top: calc(100% + 0.75rem);
        background: rgba(15, 43, 24, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 16px;
        padding: 0.75rem;
        display: none;
        flex-direction: column;
        min-width: 220px;
        gap: 0.6rem;
        box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
    }
    .site-nav.is-open {
        display: flex;
    }
    .site-nav a {
        padding: 0.65rem 0.8rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.06);
    }
    .site-nav a:hover {
        background: rgba(255, 255, 255, 0.10);
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .cards {
        grid-template-columns: 1fr;
    }
    .hero {
        padding-top: 2.5rem;
    }
}

.auth-main {
    display: grid;
    place-items: center;
    padding: 2.25rem 0;
}

.auth-card {
    width: min(520px, 100%);
}

main.auth-main > .container > .panel.auth-card {
    box-shadow: none;
    backdrop-filter: blur(60px);
    margin: auto;
}

.auth-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.auth-head {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
    justify-items: center;
    text-align: center;
}

.auth-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

.auth-subtitle {
    color: var(--text-light);
    line-height: 1.5;
}

.field-input-wrap {
    position: relative;
    display: grid;
}

.field-input-wrap input {
    padding-right: 3.2rem;
}

.reveal-btn {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    width: 44px;
    height: 40px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: rgba(45, 52, 54, 0.8);
}

.reveal-btn:hover {
    color: rgba(45, 52, 54, 1);
    border-color: rgba(0, 0, 0, 0.18);
}

.wizard {
    display: grid;
    gap: 1rem;
    padding: 0;
}

.wizard-top {
    display: grid;
    gap: 0.75rem;
}

.wizard-progress {
    height: 10px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.wizard-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(135deg, rgba(151, 188, 98, 0.95), rgba(44, 95, 45, 0.95));
    border-radius: 999px;
    transition: width 0.25s ease;
}

.wizard-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.wizard-step {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    justify-content: center;
    padding: 0.55rem 0.5rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: rgba(255, 255, 255, 0.75);
    color: rgba(45, 52, 54, 0.85);
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.wizard-step-dot {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.08);
    color: rgba(45, 52, 54, 0.9);
    font-size: 0.85rem;
}

.wizard-step-text {
    white-space: nowrap;
}

.wizard-step.is-active {
    border-color: rgba(44, 95, 45, 0.35);
    background: rgba(44, 95, 45, 0.08);
    color: rgba(26, 70, 33, 1);
}

.wizard-step.is-active .wizard-step-dot {
    background: rgba(44, 95, 45, 0.18);
}

.wizard-step.is-done {
    border-color: rgba(39, 174, 96, 0.25);
    background: rgba(39, 174, 96, 0.08);
}

.wizard-step.is-done .wizard-step-dot {
    background: rgba(39, 174, 96, 1);
    color: rgba(255, 255, 255, 0.95);
}

.wizard-body {
    display: grid;
    gap: 0.5rem;
}

.wizard-panel {
    display: none;
}

.wizard-panel.is-active {
    display: block;
    animation: wizardFadeIn 200ms ease-out;
}

.wizard-panel.is-active:focus-within {
    scroll-margin-top: 90px;
}

@keyframes wizardFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-panel-head {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.wizard-panel-title {
    font-weight: 900;
    font-size: 1.15rem;
    color: rgba(45, 52, 54, 0.98);
    letter-spacing: -0.2px;
}

.wizard-panel-sub {
    color: rgba(99, 110, 114, 0.95);
    line-height: 1.45;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.service-card {
    position: relative;
    display: grid;
    grid-template-columns: 52px 1fr 24px;
    gap: 0.85rem;
    align-items: start;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.service-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.14);
}

.service-card:focus-within {
    outline: 0;
    border-color: rgba(44, 95, 45, 0.40);
    box-shadow: 0 0 0 4px rgba(44, 95, 45, 0.12), 0 22px 52px rgba(0, 0, 0, 0.14);
}

.service-radio {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(44, 95, 45, 0.10);
    color: rgba(44, 95, 45, 1);
    font-size: 1.2rem;
}

.service-card-title {
    font-weight: 900;
    color: rgba(45, 52, 54, 0.98);
    line-height: 1.2;
}

.service-card-desc {
    margin-top: 0.2rem;
    color: rgba(99, 110, 114, 0.96);
    line-height: 1.45;
    font-weight: 600;
    font-size: 0.9rem;
}

.service-card-check {
    color: rgba(0, 0, 0, 0.18);
    margin-top: 0.2rem;
    opacity: 0.35;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.service-radio:checked + .service-card-icon {
    background: rgba(39, 174, 96, 0.14);
    color: rgba(22, 110, 63, 1);
}

.service-radio:checked ~ .service-card-check {
    color: rgba(39, 174, 96, 1);
    opacity: 1;
}

.service-radio:checked ~ .service-card-body .service-card-title {
    color: rgba(22, 110, 63, 1);
}

.service-card.is-selected {
    border-color: rgba(39, 174, 96, 0.35);
    box-shadow: 0 22px 52px rgba(39, 174, 96, 0.12);
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.25rem;
    position: sticky;
    bottom: -1px;
    padding-top: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.wizard-actions .btn {
    flex: 1 1 0;
}

.wizard-actions .btn-ghost {
    color: rgba(45, 52, 54, 0.92);
    border-color: rgba(0, 0, 0, 0.14);
    background: rgba(0, 0, 0, 0.04);
}

.wizard-actions .btn-ghost:hover {
    transform: translateY(-1px);
    background: rgba(0, 0, 0, 0.07);
}

.wizard-card {
    width: min(920px, 100%);
}

.wizard-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.wizard-brand-text {
    display: grid;
    gap: 0.15rem;
}

.btn[disabled],
button[disabled].btn {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn[disabled]:hover,
button[disabled].btn:hover {
    transform: none;
    box-shadow: none;
}

.review {
    display: grid;
    gap: 0.6rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 1rem;
}

.review-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 0.75rem;
    align-items: start;
}

.review-label {
    font-weight: 900;
    color: rgba(45, 52, 54, 0.85);
}

.review-value {
    color: rgba(45, 52, 54, 0.95);
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

@media (max-width: 768px) {
    .wizard-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
    .review-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .wizard-step-text {
        display: none;
    }
    .wizard-step {
        justify-content: center;
        gap: 0;
        padding: 0.55rem 0;
    }
}
