/* Trial Page Specific Styles */

.page-header {
    text-align: center;
    padding: 60px 0 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Trial Benefits */
.trial-benefits {
    margin-bottom: 60px;
}

.trial-benefits h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Main Trial Section */
.trial-main {
    margin-bottom: 60px;
}

.trial-container {
    max-width: 700px;
    margin: 0 auto;
}

.trial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 40px;
    text-align: center;
    color: white;
    position: relative;
}

.header-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.card-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-header p {
    opacity: 0.9;
    font-size: 1rem;
}

.card-body {
    padding: 40px;
}

/* Input Section */
.input-section {
    margin-bottom: 30px;
}

.input-section label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1rem;
}

.input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.device-input {
    flex: 1;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.device-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.device-input::placeholder {
    color: var(--text-muted);
}

.paste-btn {
    padding: 15px 20px;
    background: rgba(72, 187, 120, 0.1);
    border: 2px solid rgba(72, 187, 120, 0.3);
    border-radius: 10px;
    color: var(--success-color);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    white-space: nowrap;
}

.paste-btn:hover {
    background: rgba(72, 187, 120, 0.2);
    border-color: var(--success-color);
    transform: translateY(-2px);
}

.input-help {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.help-icon {
    font-size: 1rem;
}

/* Action Section */
.action-section {
    text-align: center;
    margin-bottom: 30px;
}

.action-btn {
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.action-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.action-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    font-size: 1.3rem;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spinner-small {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Result Section */
.result-section {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.result-success,
.result-existing,
.result-error {
    text-align: center;
}

.success-icon,
.existing-icon,
.error-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.result-success h3,
.result-existing h3,
.result-error h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-primary);
}

/* Key Display */
.key-display {
    margin-bottom: 25px;
}

.key-display label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.key-container {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.key-input {
    flex: 1;
    padding: 15px;
    background: rgba(72, 187, 120, 0.1);
    border: 2px solid var(--success-color);
    border-radius: 8px;
    color: var(--success-color);
    font-family: 'Courier New', monospace;
    font-weight: 600;
    text-align: center;
    font-size: 1rem;
}

/* Key Info */
.key-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.info-item {
    text-align: center;
}

.info-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.info-value {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.info-value.success {
    color: var(--success-color);
}

/* Next Steps */
.next-steps {
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    padding: 25px;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.next-steps h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.next-steps ol {
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 20px;
}

.next-steps li {
    margin-bottom: 8px;
}

/* Existing License */
.existing-info {
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.existing-note {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* Error Result */
.error-message {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.retry-btn {
    padding: 12px 24px;
    background: var(--error-color);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.retry-btn:hover {
    background: #e53e3e;
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Upgrade Section */
.upgrade-section {
    margin-bottom: 60px;
}

.upgrade-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.upgrade-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.upgrade-card > p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.upgrade-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.feature-icon {
    color: var(--success-color);
    font-size: 1.2rem;
}

.upgrade-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.upgrade-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.upgrade-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.contact-btn {
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .generator-content {
        padding: 30px 20px;
    }
    
    .device-display,
    .key-container {
        flex-direction: column;
    }
    
    .copy-btn {
        width: 100%;
    }
    
    .key-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .upgrade-features {
        grid-template-columns: 1fr;
    }
    
    .upgrade-actions {
        flex-direction: column;
    }
    
    .upgrade-btn,
    .contact-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .generator-header {
        padding: 30px 20px;
    }
    
    .generator-header h2 {
        font-size: 1.5rem;
    }
    
    .generate-btn {
        width: 100%;
        padding: 15px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .upgrade-card {
        padding: 30px 20px;
    }
}/* R
esult Section Styles */
.result-section {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 12px;
}

.status-header.active {
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid rgba(72, 187, 120, 0.3);
}

.status-header.new {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.status-header.error {
    background: rgba(245, 101, 101, 0.1);
    border: 1px solid rgba(245, 101, 101, 0.3);
}

.status-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.status-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.status-info p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.license-details {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.detail-value.success {
    color: var(--success-color);
}

.detail-value.time-left {
    color: var(--primary-color);
    font-family: inherit;
}

.detail-value-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.copy-small-btn {
    padding: 6px 10px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 6px;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.8rem;
}

.copy-small-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: var(--primary-color);
}

.usage-guide {
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    padding: 25px;
}

.usage-guide h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.guide-steps {
    display: grid;
    gap: 15px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
}

.step-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.retry-btn {
    padding: 12px 24px;
    background: var(--error-color);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

.retry-btn:hover {
    background: #e53e3e;
    transform: translateY(-2px);
}

/* Copy function */
.copied {
    background: rgba(72, 187, 120, 0.2) !important;
    border-color: var(--success-color) !important;
}

/* Animation improvements */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-section {
    animation: fadeIn 0.5s ease-out;
}

/* Button focus states */
.action-btn:focus,
.paste-btn:focus,
.copy-small-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}