/* Rider Signup Page Styles */

:root {
    --primary-color: #6c63ff;
    --secondary-color: #4a45b1;
    --accent-color: #00e676; /* Neon lime for CTA */
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --light-text: #f5f5f5;
    --gray-text: #b0b0b0;
    --card-bg: #1e1e1e;
    --border-color: #333;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    --map-overlay: rgba(10, 10, 10, 0.7);
}

/* Page Layout */
.signup-page {
    min-height: 100vh;
    background-color: var(--dark-bg);
    color: var(--light-text);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.signup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--darker-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.signup-header .logo-container {
    display: flex;
    align-items: center;
}

.signup-header a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--light-text);
}

.signup-header h1 {
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

.logo {
    position: relative;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.logo-dollar {
    position: absolute;
    font-size: 0.8rem;
    top: 0;
    right: -5px;
    color: var(--accent-color);
}

.header-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.header-nav a {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-nav a:hover, .header-nav a.active {
    color: var(--light-text);
}

.login-btn {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: var(--secondary-color);
}

/* Background Pattern */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    filter: blur(1px);
    z-index: -1;
}

/* Main Container */
.signup-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.5);
    animation: pulse-primary 2s infinite;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.7);
}

@keyframes pulse-primary {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(108, 99, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
    }
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: var(--light-text);
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: rgba(108, 99, 255, 0.1);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.savings-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 350px;
    border: 1px solid var(--border-color);
}

.savings-header {
    text-align: center;
    margin-bottom: 1rem;
}

.savings-header h3 {
    font-size: 1.2rem;
    color: var(--gray-text);
}

.savings-amount {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.savings-details {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.detail-label {
    color: var(--gray-text);
}

.detail-value {
    font-weight: 500;
}

/* Section Styles */
.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--light-text);
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 4rem;
    padding: 3rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.benefit-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.benefit-description {
    color: var(--gray-text);
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works-section {
    margin-bottom: 4rem;
    padding: 3rem 0;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.step-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    width: 180px;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.step-arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

/* Signup Section */
.signup-section {
    margin-bottom: 4rem;
    padding: 3rem 0;
}

.rider-form {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-text);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--light-text);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.password-hint {
    display: block;
    margin-top: 0.5rem;
    color: var(--gray-text);
    font-size: 0.8rem;
}

.payment-note {
    color: var(--gray-text);
    font-style: italic;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.text-link {
    color: var(--primary-color);
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.5);
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.7);
}

.login-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray-text);
}

/* Testimonials Section */
.testimonials-section {
    margin-bottom: 4rem;
    padding: 3rem 0;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    color: var(--gray-text);
    font-style: italic;
}

.testimonial-content p::before {
    content: "\201C";
    font-size: 2rem;
    color: var(--primary-color);
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 0.2rem;
}

.testimonial-content p::after {
    content: "\201D";
    font-size: 2rem;
    color: var(--primary-color);
    line-height: 0;
    vertical-align: -0.4em;
    margin-left: 0.2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    border: 1px solid var(--border-color);
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--gray-text);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.site-footer {
    background-color: var(--darker-bg);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo .logo {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-logo h2 {
    font-size: 1.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column h3 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--light-text);
}

.footer-social h3 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .step-card {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .signup-header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .header-nav {
        margin-top: 1rem;
        width: 100%;
        justify-content: space-around;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-section {
        padding: 2rem 1rem;
    }
}
