/* Registration Theme - Matches Login Page Dark Theme */

/* Base styles */
* {
    font-family: 'Inter', sans-serif;
}

body {
    background: #0f1419;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
    overflow-x: hidden;
}

/* Animated Gradient Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, 
        #0f1419 0%, 
        #1a2332 25%, 
        #1e2a3f 50%, 
        #1a2332 75%, 
        #0f1419 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glowing Orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    z-index: 1;
    animation: pulse 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(59, 130, 246, 0) 70%);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(139, 92, 246, 0) 70%);
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, rgba(6, 182, 212, 0) 70%);
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2) translate(20px, -20px);
        opacity: 0.5;
    }
}

/* Registration Container */
.registration-container {
    max-width: 1000px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.registration-card {
    background: rgba(26, 31, 46, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(55, 65, 81, 0.8);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

/* Logo */
.logo {
    text-align: center;
    margin-bottom: 3rem;
}

.logo img {
    height: 80px;
    display: block;
    margin: 0 auto;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    margin-top: 2rem;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: #374151;
    z-index: 0;
}

.progress-steps.step1-complete::before,
.progress-steps.step2-complete::before {
    background: #10b981;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1f2e;
    border: 2px solid #374151;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.step.active .step-circle {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.step.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.step-label {
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 500;
}

.step.active .step-label {
    color: #3b82f6;
    font-weight: 600;
}

.step.completed .step-label {
    color: #10b981;
}

/* Page Title */
.page-title {
    text-align: center;
    margin-bottom: 2rem;
}

.page-title h2 {
    color: #e8eaed;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-title p {
    color: #9ca3af;
}

/* Category Header */
.category-header {
    font-size: 1.125rem;
    font-weight: 600;
    color: #e8eaed;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #374151;
}

.category-header:first-child {
    margin-top: 0;
}

/* Industry/Package Cards */
.industry-card,
.package-card {
    border: 2px solid #374151;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    height: 100%;
    min-height: 220px; /* Ensure minimum consistent height */
    background: rgba(36, 43, 61, 0.5);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Industry Card Specific Height */
.industry-card {
    min-height: 240px; /* Increased height for industry cards to accommodate longer descriptions */
}

/* Package Card Specific Height */
.package-card {
    min-height: 650px; /* Increased height for pricing cards to avoid scrollbars */
}

/* Selection Checkmark */
.industry-card::after,
.package-card::after {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    animation: checkmarkPop 0.3s ease-out;
}

.industry-card.selected::after,
.package-card.selected::after {
    display: flex;
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.industry-card:hover,
.package-card:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    background: rgba(36, 43, 61, 0.8);
}

.industry-card.selected,
.package-card.selected {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.package-card.recommended {
    border-color: #10b981;
}

.recommended-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.trial-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #3b82f6;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Industry Card Elements */
.industry-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.industry-name,
.package-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #e8eaed;
    flex-shrink: 0;
}

.industry-description {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.5;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Package Card Elements */
.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.package-price small {
    font-size: 1rem;
    color: #9ca3af;
    font-weight: 400;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    text-align: left;
    max-height: 500px; /* Increased to show all features without scrollbar */
    overflow-y: auto;
    flex-grow: 1;
}

.package-features::-webkit-scrollbar {
    width: 6px;
}

.package-features::-webkit-scrollbar-track {
    background: #1a1f2e;
    border-radius: 3px;
}

.package-features::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 3px;
}

.package-features::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

.package-features li {
    padding: 0.4rem 0;
    font-size: 0.875rem;
    color: #c4c7ce;
    line-height: 1.4;
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li:hover {
    color: #e8eaed;
}

/* Buttons */
.btn-continue {
    background: #3b82f6;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    color: white;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-continue:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    color: white;
}

.btn-continue:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #374151;
}

.btn-continue:disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-back {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.btn-back:hover {
    color: #3b82f6;
}

/* Hidden Radio Buttons */
input[type="radio"],
input[type="checkbox"] {
    display: none;
}

/* Form Elements */
.form-control {
    width: 100%;
    padding: 14px 16px;
    background: #242b3d;
    border: 1px solid #374151;
    border-radius: 8px;
    color: #e8eaed;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    background: #1a1f2e;
    color: #e8eaed;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
    color: #6b7280;
}

.form-label {
    color: #e8eaed;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.form-label i {
    color: #3b82f6;
    margin-right: 0.5rem;
}

.form-text {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    .registration-card {
        padding: 2rem 1.5rem;
    }
    
    .progress-steps::before {
        left: 15%;
        right: 15%;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
}
