/* 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: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3.5rem;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.signup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.signup-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

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

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

.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.1);
    background: rgba(255, 255, 255, 0.08);
    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;
}

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

.form-group {
    margin-bottom: 1.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(0, 102, 255, 0.1);
    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(0, 102, 255, 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 var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    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(0, 102, 255, 0.15), 0 4px 12px rgba(0, 102, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

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

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

.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: #00cc66;
}

.meter-segment.very-strong {
    background: #00ff88;
}

.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: var(--secondary-color);
    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(255, 255, 255, 0.2);
    background: linear-gradient(
        135deg,
        rgb(255, 255, 255) 0%,
        #008cffa4 50%,
        rgb(254, 254, 255) 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(0, 102, 255, 0.4), 0 0 30px rgba(0, 102, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    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(255, 255, 255, 0.2),
        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(255, 255, 255, 0.3) 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,
        rgb(255, 255, 255) 0%,
        #008cffa4 50%,
        rgb(254, 254, 255) 100%
    );
    background-size: 300% 300%;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    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(37, 99, 235, 0.4);
}

.signup-submit-btn:focus {
    outline: none;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5),
        0 0 0 3px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    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: var(--secondary-color);
    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(37, 99, 235, 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(37, 99, 235, 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;
    }
}