/* Signup Page Specific Styles */

/* Signup Section */
.signup-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.signup-container {
    display: flex;
    max-width: 600px;
    width: 100%;
    z-index: 2;
    align-items: center;
    justify-content: center;
}

/* Signup Card */
.signup-card {
    background: linear-gradient(135deg, rgba(43, 43, 43, 0.34), rgba(31, 31, 31, 0.22));
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 3.5rem;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 30px 80px rgba(12, 15, 10, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.signup-card::before {
    content: "";
    position: absolute;
    inset: -40% 20% auto -30%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(147, 197, 114, 0.28), rgba(147, 197, 114, 0));
    filter: blur(10px);
    opacity: 0.9;
    pointer-events: none;
}

.signup-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(244, 249, 241, 0.28), transparent 55%);
    opacity: 0.55;
    pointer-events: none;
}

.signup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.signup-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    -webkit-background-clip: text;
    background-clip: text;
    color: white;
    display: inline-block;
}

.signup-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Social Signup Buttons */
.signup-options {
    margin-bottom: 0.5rem;
}

.social-signup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    gap: 1rem;
}

.social-signup-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.social-signup-btn i {
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Signup Form */
.signup-form {
    margin-bottom: 1.5rem;
}

.signup-steps {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-tertiary);
    font-size: 0.85rem;
    font-weight: 500;
}

.step-index {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.step-indicator.is-active {
    color: var(--text-primary);
}

.step-indicator.is-active .step-index {
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-color: transparent;
}

.step-indicator.is-complete {
    color: var(--text-primary);
}

.step-indicator.is-complete .step-index {
    background: var(--primary-color);
    color: #fff;
    border-color: transparent;
}

.step-status {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.form-steps {
    position: relative;
}

.form-step {
    display: none;
    animation: stepFade 0.35s ease;
}

.form-step.is-active {
    display: block;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 0.5rem;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-container i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    z-index: 3;
    pointer-events: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(147, 197, 114, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.toggle-password {
    left: auto !important;
    right: 15px !important;
    cursor: pointer;
    pointer-events: auto !important;
    padding: 8px;
    transition: all var(--transition-speed) ease;
}

.toggle-password:hover {
    background: rgba(147, 197, 114, 0.2);
    color: var(--primary-color);
}

.toggle-password:active {
    transform: translateY(-50%) scale(0.95);
}

.input-container input {
    width: 100%;
    padding: 1rem 45px 1rem 50px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    box-sizing: border-box;
}

.input-container input[type="email"],
.input-container input[type="text"] {
    padding-right: 1rem;
}

.input-container input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(147, 197, 114, 0.2), 0 8px 20px rgba(147, 197, 114, 0.2);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.input-container input::placeholder {
    color: var(--text-tertiary);
}

.input-container.is-error input {
    border-color: #ff4d4d;
    box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.15);
}

.input-container.is-success input {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(147, 197, 114, 0.2);
}

.form-group.is-error .field-feedback,
.terms-privacy.is-error .field-feedback {
    color: #ff4d4d;
}

.form-group.is-success .field-feedback {
    color: var(--primary-color);
}

.field-feedback {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.8rem;
    min-height: 1rem;
    color: var(--text-tertiary);
}

.terms-privacy .field-feedback {
    margin-left: 30px;
}

/* Password Strength Meter */
.password-strength {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.step-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.step-btn.primary {
    background: linear-gradient(
        135deg,
        rgb(255, 255, 255) 0%,
        #93c572a4 50%,
        rgb(254, 254, 255) 100%
    );
    color: #fff;
    border-color: transparent;
}

.step-btn.secondary:hover,
.step-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@keyframes stepFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.strength-meter {
    display: flex;
    gap: 5px;
}

.meter-segment {
    height: 4px;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: all var(--transition-speed) ease;
}

.meter-segment.weak {
    background: #ff4d4d;
}

.meter-segment.medium {
    background: #ffaa00;
}

.meter-segment.strong {
    background: var(--primary-color);
}

.meter-segment.very-strong {
    background: var(--secondary-color);
}

.strength-text {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Terms and Privacy Checkbox */
.terms-privacy {
    margin-bottom: 1.5rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    user-select: none;
    line-height: 1.4;
    gap: 5px;
}

.checkbox-container a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

.checkbox-container a:hover {
    color: white;
    text-decoration: underline;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all var(--transition-speed) ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.1);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Signup Button - Matching Try Syntia Button Design */
.signup-submit-btn {
    width: 100%;
    padding: 1.1rem 1.75rem;
    border-radius: 180px;
    border: 1px solid rgba(106, 139, 77, 0.38);
    background: linear-gradient(
        135deg,
        #a9d18e 0%,
        #6a8b4d 48%,
        #163300 100%
    );
    background-size: 300% 300%;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(22, 51, 0, 0.28), 0 0 26px rgba(106, 139, 77, 0.22),
        inset 0 1px 0 rgba(198, 221, 179, 0.08);
    animation: gradientShift 4s ease-in-out infinite;
}

.signup-submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(198, 221, 179, 0.16),
        transparent
    );
    transition: left 0.5s ease;
}

.signup-submit-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(
        circle,
        rgba(177, 206, 148, 0.18) 0%,
        transparent 70%
    );
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    pointer-events: none;
}

.signup-submit-btn:hover {
    background: linear-gradient(
        135deg,
        #b4da99 0%,
        #76995a 48%,
        #1a3c06 100%
    );
    background-size: 300% 300%;
    box-shadow: 0 8px 32px rgba(22, 51, 0, 0.36),
        0 0 0 1px rgba(106, 139, 77, 0.24), inset 0 1px 0 rgba(198, 221, 179, 0.1);
    transform: scale(1.02);
    animation: gradientShift 1.5s ease-in-out infinite,
        buttonPulse 2s ease-in-out infinite;
}

.signup-submit-btn:hover::before {
    left: 100%;
}

.signup-submit-btn:hover::after {
    width: 120px;
    height: 120px;
    opacity: 0.6;
}

.signup-submit-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 16px rgba(22, 51, 0, 0.32);
}

.signup-submit-btn:focus {
    outline: none;
    box-shadow: 0 8px 32px rgba(22, 51, 0, 0.34),
        0 0 0 3px rgba(106, 139, 77, 0.3), inset 0 1px 0 rgba(198, 221, 179, 0.08);
    animation: gradientShift 1.5s ease-in-out infinite;
}

.signup-submit-btn:focus:not(:hover) {
    transform: translateY(-2px);
}

/* Signup Footer */
.signup-footer {
    text-align: center;
}

.signup-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.signup-footer a {
    color: var(--primary-color);
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.signup-footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Signup Features */


/* Active Get Started Button in Navbar */
.get-started-btn.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .signup-section {
        padding: 150px 5% 80px;
    }
    
    .signup-container {
        max-width: 500px;
    }
    
    .signup-card {
        padding: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .signup-container {
        max-width: 500px;
    }
    
    .signup-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .password-strength-meter {
        margin-bottom: 1.5rem;
    }
}

/* Animations for Try Syntia Button Style */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(147, 197, 114, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 12px 40px rgba(147, 197, 114, 0.7),
            0 0 0 1px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@media (max-width: 768px) {
    .signup-section {
        padding: 120px 5% 50px;
    }
    
    .signup-card {
        padding: 2.5rem;
        max-width: 450px;
    }
    
    .signup-header h2 {
        font-size: 2rem;
    }
    
    .signup-header p {
        font-size: 0.95rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .social-signup-btn {
        width: 100%;
        padding: 0.9rem;
    }
    
    .password-strength-meter {
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 576px) {
    .signup-section {
        padding: 100px 5% 40px;
    }
    
    .signup-card {
        padding: 2rem;
        max-width: 380px;
    }
    
    .signup-header h2 {
        font-size: 1.8rem;
    }
    
    .signup-header p {
        font-size: 0.9rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .social-signup-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .social-signup-btn i {
        width: 20px;
        height: 20px;
        font-size: 0.9rem;
    }
    
    .input-container i {
        width: 18px;
        height: 18px;
        font-size: 0.8rem;
    }
    
    .password-strength-meter {
        height: 8px;
    }
    
    .password-requirements li {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .signup-card {
        padding: 1.8rem;
        max-width: 350px;
    }
    
    .signup-header h2 {
        font-size: 1.7rem;
    }
    
    .signup-header p {
        font-size: 0.85rem;
    }
    
    .social-signup-btn {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    .social-signup-btn i {
        width: 18px;
        height: 18px;
        font-size: 0.8rem;
    }
    
    .input-container i {
        width: 16px;
        height: 16px;
        font-size: 0.75rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .signup-footer {
        font-size: 0.85rem;
    }
    
    .password-strength-meter {
        margin-bottom: 1rem;
    }
}

/* Handle landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .signup-section {
        padding: 80px 5% 30px;
        min-height: auto;
    }
    
    .signup-container {
        gap: 2rem;
    }
    
    .signup-card, .signup-features {
        padding: 1.5rem;
    }
    
    .signup-header {
        margin-bottom: 1rem;
    }
    
    .signup-header h2 {
        font-size: 1.7rem;
    }
    
    .form-group {
        margin-bottom: 0.8rem;
    }
    
    .password-strength-meter {
        margin-bottom: 0.8rem;
    }
    
    .password-requirements {
        margin-bottom: 1rem;
    }
}
