/* Pricing Page Styles */
.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-header h1 {
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.pricing-header > p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.demo-notice {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffeaa7;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem auto;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.2);
}

.demo-badge {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: fit-content;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
    border: 2px solid #3498db;
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(52, 152, 219, 0.2);
}

.pricing-card.popular:hover {
    transform: scale(1.02) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    letter-spacing: 0.5px;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #2c2c2c;
    margin: 1rem 0 0.5rem 0;
}

.price-period {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.plan-description {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.features {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.4;
}

.check {
    color: #27ae60;
    font-weight: bold;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.cross {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.pricing-card button,
.pricing-card a.btn-primary,
.pricing-card a.btn-secondary {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 44, 44, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a1a1a, #000);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 44, 44, 0.3);
}

.btn-secondary {
    background: white;
    color: #2c2c2c;
    border: 2px solid #2c2c2c;
}

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

/* FAQ Section */
.pricing-faq {
    margin: 6rem 0 4rem;
    text-align: center;
}

.pricing-faq h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #1a1a1a;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 480px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
    animation: modalSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
    font-size: 1.125rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #666;
}

.modal-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.tier-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.875rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    max-width: 100%;
}

.tier-summary h4 {
    font-size: 1.125rem;
    color: white;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.tier-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
}

.tier-summary li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.purchase-form {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    clear: both;
    width: 100%;
}

/* Primary Section - Email (Full Width) */
.form-section-primary {
    display: flex;
    flex-direction: column;
    width: 100%;
    clear: both;
}

.form-section-primary .form-group {
    margin-bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-section-primary .form-group small {
    display: block;
    color: #888;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    line-height: 1.4;
    font-weight: 400;
    width: 100%;
    text-align: left;
    clear: both;
}

.form-section-primary label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.form-section-primary input {
    width: 100%;
    max-width: none;
    padding: 0.25rem 0.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    color: #2c2c2c;
    background: white;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    height: 2.2rem;
    caret-color: #3498db;
    font-weight: 400;
    min-width: 400px;
    line-height: 1.2;
}

/* Secondary Section - Names (Two Column) */
.form-section-secondary {
    display: flex;
    flex-direction: column;
}

.form-section-secondary h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 0.975rem;
    font-family: inherit;
    color: #2c2c2c;
    background: white;
    transition: all 0.2s ease;
    box-sizing: border-box;
    height: 46px;
    caret-color: #667eea;
    line-height: 1.4;
}

.form-group input::placeholder {
    color: #999;
    opacity: 1;
}

.form-group input:hover {
    border-color: #c0c0c0;
    background: white;
    transform: translateY(-1px);
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    caret-color: #3498db;
}

/* Premium focus for primary email input */
.form-section-primary input:focus {
    border-color: #2980b9;
    box-shadow: 0 0 0 4px rgba(41, 128, 185, 0.1), 0 8px 32px rgba(41, 128, 185, 0.08);
    transform: translateY(-3px);
}

.form-group small {
    display: block;
    color: #888;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    line-height: 1.4;
    font-weight: 400;
}

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

.form-row .form-group {
    margin-bottom: 0;
}

.purchase-demo-notice {
    background: #e8f4fd;
    border: 1px solid #b3d9ff;
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    color: #1a1a1a;
    text-align: center;
}

.form-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.form-actions button {
    flex: 1;
    padding: 0.75rem 1.5rem;
    font-size: 0.925rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Success Modal */
.modal-content.success {
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin: 2rem 0 1rem;
}

.license-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.license-info h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.license-key {
    background: white;
    border: 2px dashed #3498db;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.license-key code {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: bold;
    color: #2c2c2c;
    flex: 1;
    word-break: break-all;
}

.copy-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background: #2980b9;
}

.next-steps {
    text-align: left;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.next-steps h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.next-steps ol {
    margin: 0;
    padding-left: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.next-steps li {
    margin-bottom: 0.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 0.5rem 0 1rem;
}

/* Footer Updates */
.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #d0d0d0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-container {
        padding: 6rem 1rem 3rem;
    }
    
    .pricing-header h1 {
        font-size: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .license-key {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Navigation active state */
.nav-links a.active {
    color: #3498db;
    font-weight: 600;
}

/* Alert styles */
.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    z-index: 10001;
    animation: alertSlideIn 0.3s ease-out;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.alert-error {
    background: #fee;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.alert-success {
    background: #f0fff4;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Passcode Form Styling */
.passcode-section {
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    padding: 1.25rem;
    border-radius: 8px;
    margin: 1rem 0 0;
}

.passcode-header {
    margin-bottom: 0.75rem;
    text-align: left;
}

.passcode-header h4 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.passcode-description {
    color: #666;
    font-size: 0.825rem;
    margin: 0;
    line-height: 1.4;
    max-width: 100%;
}

/* Passcode Fields Grid */
.passcode-fields-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.passcode-section .form-group {
    margin-bottom: 0;
}

.password-input-container {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
}

.password-input-container input {
    flex: 1;
    padding: 0.25rem 3rem 0.25rem 0.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    color: #2c2c2c;
    font-family: inherit;
    font-size: 1rem;
    height: 2.2rem;
    caret-color: #3498db;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    font-weight: 400;
    line-height: 1.2;
}

.password-input-container input::placeholder {
    color: #999;
    opacity: 1;
}

.password-input-container input:hover {
    border-color: #c0c0c0;
    transform: translateY(-1px);
}

.password-input-container input:focus {
    outline: none;
    border-color: #3498db;
    color: #1a1a1a;
    background: white;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.08), 0 4px 20px rgba(52, 152, 219, 0.05);
    transform: translateY(-2px);
    caret-color: #3498db;
}

.toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    color: #666;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    background: #e9ecef;
    color: #333;
    border-color: #ccc;
}

.toggle-password:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.eye-icon {
    font-size: 0.9rem;
    font-weight: 500;
}

.passcode-requirements {
    background: white;
    border: 1px solid #e8f0ff;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.3;
}

.requirement-item:last-child {
    margin-bottom: 0;
}

.req-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Success Modal Updates */
.activation-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    color: #856404;
}

.license-info h4:not(:first-child) {
    margin-top: 1.5rem;
}

/* Mobile responsiveness for new professional design */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        border-radius: 16px;
    }
    
    .modal-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem 1.5rem 2rem;
    }
    
    .purchase-form {
        gap: 2rem;
    }
    
    .form-section-primary input {
        font-size: 1rem;
        padding: 1rem 1.25rem;
        min-height: 52px;
    }
    
    
    .passcode-section {
        padding: 1rem 1rem;
    }
    
    .passcode-fields-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .passcode-requirements {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .requirement-item {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .password-input-container input {
        font-size: 1rem;
        padding: 1rem 3.5rem 1rem 1rem;
        min-height: 48px;
    }
    
    .toggle-password {
        height: 28px;
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }
}