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

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

/* Loader */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-content {
    text-align: center;
    color: white;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-content p {
    font-size: 1.2em;
    font-weight: 500;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

.header h1 {
    color: #FF6B35;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.header p {
    color: #666;
    font-size: 1.1em;
}

/* Card */
.card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.card h2 {
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
}

/* Form Sections */
.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: #FF6B35;
    margin-bottom: 20px;
    font-size: 1.3em;
}

/* Tier Selection */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.tier-card {
    background: #f8f9fa;
    border: 3px solid #4caf50;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
}

.tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
}

.tier-card.selected {
    border-color: #2e7d32;
    background: #f0fff4;
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4);
}

.tier-header h4 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.tier-price {
    font-size: 2em;
    font-weight: 700;
    color: #FF6B35;
    margin-bottom: 20px;
}

.tier-price span {
    font-size: 0.5em;
    color: #666;
    font-weight: 400;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 0.9em;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4caf50;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.billing-label {
    color: #666;
    font-size: 0.9em;
}

.tier-features {
    list-style: none;
    margin-bottom: 20px;
}

.tier-features li {
    padding: 8px 0;
    color: #555;
}

.tier-select-btn {
    width: 100%;
    padding: 12px;
    background: #FF6B35;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tier-select-btn:hover {
    background: #F7931E;
}

.tier-card.selected .tier-select-btn {
    background: #4caf50;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF6B35;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.9em;
}

.toggle-visibility {
    position: absolute;
    right: 15px;
    top: 38px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
}

/* Info & Warning Boxes */
.info-box,
.warning-box,
.success-box {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    color: #1565c0;
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.success-box {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.info-box strong,
.warning-box strong,
.success-box strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Buttons */
.cta-btn {
    padding: 15px 40px;
    background: #FF6B35;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    background: #F7931E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.cta-btn.secondary {
    background: #6c757d;
}

.cta-btn.secondary:hover {
    background: #5a6268;
}

.cta-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

/* Credentials Display */
.credentials-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
}

.credential-item label {
    font-weight: 600;
    color: #333;
    min-width: 100px;
}

.credential-item code {
    flex: 1;
    background: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.copy-btn {
    padding: 8px 15px;
    background: #FF6B35;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

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

/* Next Steps */
.next-steps {
    margin: 30px 0;
}

.next-steps h3 {
    color: #333;
    margin-bottom: 15px;
}

.next-steps ol {
    padding-left: 25px;
}

.next-steps li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

.next-steps a {
    color: #FF6B35;
    text-decoration: none;
    font-weight: 600;
}

.next-steps a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .tier-grid {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 1.8em;
    }
    
    .card {
        padding: 25px;
    }
}

