:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #1a252f;
    --success: #27ae60;
    --warning: #f39c12;
    --border: #bdc3c7;
    --shadow: rgba(44, 62, 80, 0.1);
    --radius: 12px;
    --whatsapp: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile Header */
.mobile-header {
    display: none;
    background: white;
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: 0 4px 12px var(--shadow);
}

.mobile-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.mobile-stepper {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.step-indicator {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.step-indicator.active {
    background: var(--secondary);
}

/* Registration Wrapper */
.registration-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 15px 50px var(--shadow);
    overflow: hidden;
}

/* Left Side */
.left-side {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: white;
}

.logo span {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.left-side h1 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.left-side > p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.features {
    margin-top: 30px;
    flex: 1;
}

.features h3 {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features h3 i {
    color: var(--secondary);
}

.features ul {
    list-style: none;
}

.features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 15px;
    opacity: 0.9;
}

.features li i {
    color: var(--secondary);
    font-size: 14px;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 25px;
    margin-top: 30px;
}

.contact-info h4 {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-info a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.contact-info a:hover {
    opacity: 1;
    text-decoration: underline;
}

.contact-info i {
    width: 20px;
    color: var(--secondary);
}

.testimonial {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial p {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 10px;
}

.author {
    font-size: 14px;
    opacity: 0.7;
}

/* Right Side */
.right-side {
    padding: 40px;
    overflow-y: auto;
    max-height: 90vh;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-header h2 i {
    color: var(--secondary);
}

.form-header p {
    color: #666;
}

/* Form Stepper */
.form-stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.form-stepper::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.step-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-align: center;
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

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

.step-title {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-title i {
    color: var(--secondary);
}

/* Form Elements */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.input-with-icon .form-control {
    padding-left: 45px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Plan Cards */
.plan-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.plan-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.plan-card.selected {
    border-color: var(--secondary);
    background: rgba(52, 152, 219, 0.05);
}

.plan-card.popular {
    border-color: var(--secondary);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.plan-header {
    margin-bottom: 20px;
    text-align: center;
}

.plan-name {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.plan-price {
    font-size: 36px;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 5px;
}

.plan-period {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

.plan-trial, .plan-save {
    font-size: 14px;
    color: var(--success);
    font-weight: 600;
    margin-top: 5px;
}

.plan-features {
    list-style: none;
    margin: 25px 0;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #555;
    font-size: 14px;
}

.plan-features li i {
    color: var(--success);
}

.plan-select-btn {
    width: 100%;
    padding: 12px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.plan-select-btn:hover {
    background: var(--primary);
}

/* Subdomain Input */
.subdomain-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.subdomain-suffix {
    padding: 14px 16px;
    background: var(--light);
    border-radius: 10px;
    color: #666;
    white-space: nowrap;
    font-weight: 500;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: var(--primary);
    font-size: 15px;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-top: 3px;
}

.checkbox-label a {
    color: var(--secondary);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Review Section */
.review-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.review-section h4 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-section h4 i {
    color: var(--secondary);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.review-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.review-label {
    color: #666;
    font-size: 14px;
}

.review-value {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.security-notice {
    background: rgba(52, 152, 219, 0.1);
    border-radius: var(--radius);
    padding: 20px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.security-notice i {
    color: var(--secondary);
    font-size: 24px;
}

.security-notice p {
    color: var(--primary);
    margin: 0;
    font-size: 15px;
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: var(--light);
    color: var(--primary);
}

.btn-secondary:hover {
    background: #d5dbdb;
    transform: translateY(-2px);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

/* Error Messages */
.error-message {
    color: var(--accent);
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.form-control.error {
    border-color: var(--accent);
}

.help-text {
    color: #666;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Success Screen */
.success-screen {
    display: none;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    font-size: 80px;
    color: var(--success);
    margin-bottom: 30px;
    text-align: center;
}

.congratulations-message {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.congratulations-message .confetti {
    font-size: 60px;
    margin-bottom: 20px;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}

.congratulations-message h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.congratulations-message p {
    font-size: 18px;
    opacity: 0.9;
}

.reference-box {
    background: white;
    border: 2px solid var(--secondary);
    border-radius: var(--radius);
    padding: 30px;
    margin: 40px 0;
    text-align: center;
    position: relative;
}

.reference-label {
    display: block;
    color: #666;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.reference-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
    font-family: monospace;
    margin-bottom: 20px;
}

.copy-btn {
    background: var(--light);
    color: var(--primary);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: #d5dbdb;
}

.details-card {
    background: white;
    border: 2px solid var(--light);
    border-radius: var(--radius);
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.details-card h4 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.details-card h4 i {
    color: var(--secondary);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--light);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: #666;
    font-weight: 500;
    font-size: 15px;
}

.detail-value {
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    text-align: right;
}

.next-steps {
    background: rgba(52, 152, 219, 0.05);
    border-radius: var(--radius);
    padding: 30px;
    margin: 40px 0;
}

.next-steps h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.next-steps h4 i {
    color: var(--secondary);
}

.next-steps ul {
    list-style: none;
}

.next-steps li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #555;
    font-size: 16px;
}

.next-steps li i {
    color: var(--secondary);
    width: 20px;
    font-size: 18px;
}

.support-card {
    background: white;
    border: 2px solid var(--light);
    border-radius: var(--radius);
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.support-card h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.support-card h4 i {
    color: var(--secondary);
}

.support-contacts p {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

.support-contacts a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
}

.support-contacts a:hover {
    text-decoration: underline;
}

.support-contacts i {
    color: var(--secondary);
    width: 20px;
}

.success-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.whatsapp-cta {
    margin-top: 30px;
    text-align: center;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--whatsapp);
    color: white;
    padding: 18px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    font-size: 24px;
}

/* Loading State */
.loader {
    border: 3px solid var(--light);
    border-top: 3px solid var(--secondary);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .registration-wrapper {
        grid-template-columns: 1fr;
    }
    
    .left-side {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .right-side {
        padding: 30px;
        max-height: none;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .right-side {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .plan-options {
        grid-template-columns: 1fr;
    }
    
    .subdomain-input {
        flex-direction: column;
        align-items: stretch;
    }
    
    .subdomain-suffix {
        text-align: center;
        padding: 10px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .review-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .detail-value {
        text-align: center;
    }
    
    .support-contacts p {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .form-stepper {
        display: none;
    }
    
    .mobile-header {
        margin-bottom: 15px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
    
    .step-title {
        font-size: 18px;
    }
    
    .congratulations-message {
        padding: 30px 20px;
    }
    
    .congratulations-message h2 {
        font-size: 24px;
    }
    
    .reference-number {
        font-size: 24px;
    }
    
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
}