/* ========================================
   AUTH PAGES (Login & Signup)
   Dark-themed authentication forms
   ======================================== */

html, body {
    background: #0a0a0a;
}
body {
    min-height: 100vh;
    color: white;
}

/* Login */
.auth-section {
    padding: 140px 0 80px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}
.auth-container {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
}
.auth-header {
    text-align: center;
    margin-bottom: 40px;
}
.auth-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -1px;
}
.auth-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

/* Signup */
.signup-section {
    padding: 120px 0 80px;
}
.signup-container {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
}
.signup-header {
    text-align: center;
    margin-bottom: 40px;
}
.signup-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -1px;
}
.signup-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    margin-bottom: 32px;
}

/* Shared Auth Card */
.auth-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
}

/* Dark-themed form overrides */
.auth-card .form-group {
    margin-bottom: 24px;
}
.auth-card .form-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}
.auth-card .form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-card .form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.auth-card .form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15);
}
.auth-card .form-help {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}
.auth-card .form-error {
    display: none;
    margin-top: 6px;
    font-size: 12px;
    color: #ff6b6b;
}
.auth-card .form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}
.auth-card .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #ff8c00;
}
.auth-card .form-check-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}
.auth-card .form-check-label a {
    color: var(--color-primary);
    text-decoration: none;
}
.auth-card .form-check-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.btn-submit:hover {
    background: #ff8c00;
}
.btn-submit:active {
    transform: scale(0.98);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}
.auth-footer a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}
.auth-footer a:hover {
    text-decoration: underline;
}

/* Error Alert */
.auth-card .alert-error {
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 10px;
    padding: 14px 16px;
    color: #ff6b6b;
    font-size: 14px;
    margin-bottom: 24px;
    border-left: none;
}

/* Signup Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-item .value {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}
.stat-item .label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Trust Signals */
.trust-signals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.trust-item {
    text-align: center;
}
.trust-item .icon {
    font-size: 24px;
    color: #95bf47;
    margin-bottom: 8px;
}
.trust-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Steps Section */
.steps-section {
    padding: 100px 0;
    background: black;
}
.steps-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}
.steps-section .section-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}
.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}
.step-item {
    text-align: center;
}
.step-number {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    margin: 0 auto 20px;
}
.step-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}
.step-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: #0a0a0a;
}
.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}
.testimonials-section .section-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}
.testimonials-section .section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
}
.testimonial-card blockquote {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-card blockquote::before {
    content: '\201C';
}
.testimonial-card blockquote::after {
    content: '\201D';
}
.testimonial-author .name {
    font-weight: 600;
    color: white;
    font-size: 14px;
}
.testimonial-author .title {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .trust-signals {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .steps-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .signup-header h1,
    .auth-header h1 {
        font-size: 32px;
    }
}
