* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

/* Authentication Modal Overlay */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px 0 80px 0; /* Add bottom padding to avoid cookie consent */
}

.auth-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.auth-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 90%;
    max-height: calc(100vh - 100px); /* Account for padding and cookie consent */
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.auth-modal-overlay.show .auth-modal {
    transform: scale(1);
}

.auth-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px 0; /* Reduced from 24px */
    border-bottom: 1px solid #eee;
    margin-bottom: 20px; /* Reduced from 24px */
}

.modal-title {
    font-size: 22px; /* Slightly smaller */
    font-weight: 600;
    color: #333;
    margin: 0;
}

.auth-close {
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: #666;
    border-radius: 6px;
    transition: all 0.2s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-close:hover {
    background-color: #f5f5f5;
    color: #333;
}

.auth-form {
    padding: 0 32px 32px;
}

/* Add horizontal padding to modal content */
.auth-modal-content {
    padding: 0 20px;
}

/* Hide inactive signup steps */
.signup-step {
    display: none;
}

.signup-step.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

/* Form field improvements */
.form-group {
    margin-bottom: 1.2rem; /* Reduced from 1.5rem */
    padding: 0 10px;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem; /* Reduced from 0.5rem */
    font-weight: 500;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 0.7rem 1rem; /* Slightly reduced from 0.75rem */
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Password field container for tooltip positioning */
.password-field-container {
    position: relative;
}

/* Password requirements tooltip */
.password-requirements-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1f2937;
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.password-requirements-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 1rem;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #1f2937;
}

.password-requirements-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Password requirements content styling */
.password-requirements-tooltip .requirements-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.password-requirements-tooltip .requirement {
    margin: 0.25rem 0;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.password-requirements-tooltip .requirement-met {
    color: #10b981;
}

.password-requirements-tooltip .requirement-unmet {
    color: #ef4444;
}

/* Form row for side-by-side fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.2rem; /* Reduced from 1.5rem */
    padding: 0 10px;
}

.form-row .form-group {
    margin-bottom: 0;
    padding: 0;
}

/* Optimize first step specifically */
#step1 {
    padding-bottom: 1rem;
}

/* #step1 .step-title {
    margin-bottom: 1rem; 
    font-size: 1.4rem; 
} */

#step1 .form-group {
    margin-bottom: 1rem; /* More compact for step 1 */
}

#step1 .step-actions {
    margin-top: 1.5rem; /* Reduced from 2rem */
}

/* For wider modal, optimize the signup steps layout */
@media (min-width: 768px) {
    .auth-modal {
        max-width: 90%;
        min-height: 70vh;
    }
    
    /* Step 2: Plan Selection - Grid Layout */
    .signup-step#step2.active {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding:2rem 0 1rem 0;
        grid-template-areas:
            "header"
            "plans"
            "actions";
    }

    .signup-step#step2.active .step2-header {
        grid-area: header;
    }

    .signup-step#step2.active .pricing-audience-panel.show {
        grid-area: plans;
    }

    .signup-step#step2.active .step-actions {
        grid-area: actions;
        padding: 0;
    }

    /* Step 3: Payment - Two Column Layout */
    .signup-step#step3.active {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        padding:2rem 0 1rem 0;
        gap: 1rem;
        align-items: start;
        grid-template-areas:
            "payment summary"
            "terms actions";
    }
    
    /* .signup-step#step3.active .step-title {
        grid-area: title;
        margin-bottom: 1.5rem;
    } */
    
    .signup-step#step3.active .payment-form {
        grid-area: payment;
        padding: 0;
    }
    
    .signup-step#step3.active .payment-summary {
        grid-area: summary;
        margin: 2rem 1rem;
        position: sticky;
        top: 1rem;
        height: fit-content;
    }
    
    .signup-step#step3.active .terms-agreement {
        grid-area: terms;
        padding: 0;
        margin-left: 2rem;
    }
    
    .signup-step#step3.active .step-actions {
        grid-area: actions;
        padding: 0;
    }
}

/* Large screens - even more space */
@media (min-width: 1200px) {
    .auth-modal {
        max-width: 85%;
    }
    
    .signup-step#step2.active .plan-selector {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Header */
.header {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-nav a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #2563eb;
}

.login-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.login-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Language Switcher */
.header-nav .language-switcher {
    background: white;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.5rem;
    display: flex;
    gap: 0;
    align-items: center;
}

.header-nav .language-switcher button {
    background: none !important;
    border: none !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #6c757d !important;
    font-size: 0.9rem;
    white-space: nowrap;
    text-decoration: none;
}

.header-nav .language-switcher button.active {
    background: #2d72d9 !important;
    color: white !important;
}

.header-nav .language-switcher button:hover:not(.active) {
    background: #f8f9fa !important;
    color: #495057 !important;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-container {
    padding: 2rem;
}

.hero-content {
    max-width: 500px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.cta-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.cta-secondary {
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-secondary:hover {
    transform: translateY(-2px);
    border-color: #2563eb;
    color: #2563eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.signup-container {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.auth-toggle {
    display: flex;
    margin-bottom: 2rem;
    background: #f1f5f9;
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.auth-toggle span,
.auth-toggle button {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    font-size: inherit;
    font-family: inherit;
}

.auth-toggle span {
    cursor: default;
}

.auth-toggle span.active,
.auth-toggle button.active {
    background: white;
    color: #2563eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #1d4ed8;
}

.auth-switch {
    text-align: center;
    margin-top: 1rem;
    color: #6b7280;
}

.auth-switch a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.auth-switch a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.auth-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Multi-Step Signup Wizard */
.signup-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    /*margin-bottom: 1.5rem;  Reduced from 2rem */
    /*padding: 0.75rem 0;  Reduced from 1rem */
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s;
    margin-bottom: 0.5rem;
}

.progress-step.active .step-number {
    background: #2563eb;
    color: white;
}

.progress-step.completed .step-number {
    background: #10b981;
    color: white;
}

.step-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.progress-step.active .step-label {
    color: #2563eb;
}

.progress-line {
    width: 80px;
    height: 2px;
    background: #e5e7eb;
    margin: 0 1rem;
    margin-top: -20px;
    transition: background 0.3s;
}

.progress-line.completed {
    background: #10b981;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* .step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    text-align: center;
    padding: 0 10px;
} */

/* Step 2 header with inline pricing tabs and description */
.step2-header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
}

.step-description {
    color: #6b7280;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    text-align: right;
    flex-shrink: 0;
}

/* Plan Selector */
.plan-selector {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0 10px;
}

/* For tablets and up - 2 columns */
@media (min-width: 640px) {
    .plan-selector {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.plan-option {
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    background: white;
}

.plan-option:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.plan-option.selected {
    border-color: #2563eb;
    background: #eff6ff;
}

.plan-option.recommended {
    border-color: #10b981;
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.plan-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.plan-price .period {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
}

.plan-features {
    list-style: none;
    margin-bottom: 1rem;
}

.plan-features li {
    padding: 0.25rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

.plan-selector-radio {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.plan-selector-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #2563eb;
}

/* Payment Form */
.payment-summary {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 0 10px 2rem 10px;
}

.selected-plan-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-item.total {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
}

.summary-label {
    color: #6b7280;
}

.summary-value {
    color: #1f2937;
    font-weight: 500;
}

.payment-form {
    padding: 0 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.password-requirements {
    margin-top: 0.25rem;
}

.password-requirements small {
    color: #6b7280;
    font-size: 0.75rem;
}

/* Verification System Styles */
.verification-section {
    padding: 0 10px;
}

.verification-summary {
    margin-bottom: 2rem;
}

.custom-plan-info h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.custom-plan-info p {
    color: #6b7280;
    line-height: 1.5;
}

.verification-step {
    display: none;
}

.verification-step.active {
    display: block;
}

.verification-step h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Contact Method Selection */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-option {
    position: relative;
}

.contact-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contact-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.contact-option input[type="radio"]:checked + .contact-label {
    border-color: #2563eb;
    background: #f0f9ff;
}

.contact-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.contact-details {
    flex: 1;
}

.contact-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.contact-description {
    color: #6b7280;
    font-size: 0.875rem;
}

.contact-input-section {
    margin-bottom: 1.5rem;
}

.contact-input {
    display: none;
}

.contact-input.active {
    display: block;
}

/* Code Input */
.code-input-container {
    text-align: center;
    margin: 2rem 0;
}

.code-inputs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.code-digit {
    width: 3rem;
    height: 3rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    transition: border-color 0.3s;
}

.code-digit:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.code-digit.filled {
    border-color: #10b981;
    background: #f0fdf4;
}

.verification-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.verification-message {
    color: #6b7280;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Resend Section */
.resend-section {
    text-align: center;
    margin: 1.5rem 0;
}

.resend-btn {
    background: none;
    border: none;
    color: #2563eb;
    cursor: pointer;
    text-decoration: underline;
    font-size: inherit;
}

.resend-btn:hover {
    color: #1d4ed8;
}

.resend-btn:disabled {
    color: #9ca3af;
    cursor: not-allowed;
    text-decoration: none;
}

.resend-timer {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Success Message */
.success-message {
    text-align: center;
    margin-bottom: 2rem;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-message h4 {
    color: #10b981;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-message p {
    color: #6b7280;
    line-height: 1.5;
}

.next-steps {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.next-steps h5 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #4b5563;
}

.next-steps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

/* Responsive Design for Verification */
@media (max-width: 768px) {
    .code-inputs {
        gap: 0.25rem;
    }
    
    .code-digit {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
    
    .contact-methods {
        gap: 0.75rem;
    }
    
    .contact-label {
        padding: 0.75rem;
    }
    
    .contact-icon {
        font-size: 1.5rem;
        margin-right: 0.75rem;
    }
}

.terms-agreement {
    padding: 0 10px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
    position: relative;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    margin-top: 0.125rem; /* Align with first line of text */
}

.checkbox-container .checkmark {
    display: none; /* Hide custom checkmark if it exists */
}

/* Ensure the text content flows naturally */
.checkbox-container {
    align-items: flex-start;
}

/* Make sure links don't break awkwardly */
.checkbox-container a {
    white-space: nowrap; /* Prevent links from breaking across lines */
}

.terms-agreement a {
    color: #2563eb;
    text-decoration: none;
}

.terms-agreement a:hover {
    text-decoration: underline;
}

/* Step Actions */
.step-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding: 0 10px;
}

.btn-back {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-back:hover {
    background: #f9fafb;
    color: #374151;
}

.btn-next {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-next:hover {
    background: #1d4ed8;
}

.btn-complete {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-complete:hover {
    background: #059669;
}

/* Responsive Design for Multi-Step Wizard */
@media (max-width: 768px) {
    .signup-progress {
        padding: 0.5rem 0;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .progress-line {
        width: 60px;
        margin: 0 0.5rem;
        margin-top: -16px;
    }
    
    /* Step 2 header responsive layout */
    .step2-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .step-description {
        text-align: center;
        font-size: 0.85rem;
    }
    
    .plan-selector {
        gap: 0.75rem;
    }
    
    .plan-option {
        padding: 1rem;
    }
    
    .plan-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .plan-price {
        font-size: 1.25rem;
    }
    
    .step-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-back,
    .btn-next,
    .btn-complete {
        width: 100%;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.visual-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    padding: 3rem;
    color: white;
    text-align: center;
}

.visual-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.visual-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0;
    background: white;
    margin: 2rem 0;
    border-radius: 1rem;
}

.pricing-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-plan {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.pricing-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.pricing-plan.selected {
    border-color: #2563eb;
    background: white;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.plan-price {
    font-size: 3rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.plan-period {
    color: #64748b;
    margin-bottom: 2rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 0.2rem;
}

.plan-features li {
    padding: 0.5rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

/* Removed duplicate rule - using the positioned version above */

.plan-button {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #2563eb;
    background: transparent;
    color: #2563eb;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.pricing-plan.selected .plan-button {
    background: #2563eb;
    color: white;
}

.plan-button:hover {
    background: #2563eb;
    color: white;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: #f8fafc;
    margin: 2rem 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .submit-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form .submit-btn:hover {
    background: #1d4ed8;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    color: #9ca3af;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
    color: #4b5563;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.cookie-accept {
    background: #2563eb;
    color: white;
}

.cookie-accept:hover {
    background: #1d4ed8;
}

.cookie-decline {
    background: #f3f4f6;
    color: #4b5563;
}

.cookie-decline:hover {
    background: #e5e7eb;
}

/* Password Requirements */
.password-requirements {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.requirements-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.requirement {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
    padding: 0.25rem 0;
}

.requirement-met {
    color: #059669;
}

.requirement-unmet {
    color: #dc2626;
}

.requirement:last-child {
    margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .header-nav {
        gap: 1rem;
    }

    .main-content {
        padding: 0 1rem;
    }

    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }

    .pricing-plans {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .visual-container {
        order: 2;
    }

    .signup-container {
        order: 1;
    }
}

@media (max-width: 480px) {
    .header-nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .visual-content h2 {
        font-size: 1.5rem;
    }

    .pricing-section h2 {
        font-size: 2rem;
    }

    .plan-price {
        font-size: 2rem;
    }
}

/* --- Pricing Tabs --- */
.pricing-tabs {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 0.75rem;
  padding: 0.25rem;
  gap: 0.25rem;
  align-items: center;
  justify-content: center;
}
.pricing-tabs .pricing-tab {
  border: none;
  background: transparent;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  color: #475569;
  font-weight: 600;
  transition: all 0.2s ease;
}
.pricing-tabs .pricing-tab:hover {
  color: #2563eb;
}
.pricing-tabs .pricing-tab.active {
  background: white;
  color: #2563eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Panels */
.pricing-audience-panel { display: none; }
.pricing-audience-panel.show { display: block; }

/* Badges & AI chips */
.plan-badge {
  margin-top: -0.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #64748b;
}
.plan-badge.most-popular {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-weight: 600;
}
.ai-chip {
  display: inline-block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}
.overage-note {
  color: #6b7280;
  font-size: 0.95rem;
}

/* Fine print */
.pricing-fineprint {
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

/* Minor tweak so selected looks good in both panels */
.pricing-plan.selected {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
}
