* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo img {
    max-width: 180px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1.25rem;
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 0;
}

.logo-profit {
    color: #f97316;
    font-weight: 800;
}

.logo-sweep {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    font-style: italic;
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #a1a1aa;
}

.secure-icon {
    color: #f97316;
    width: 16px;
    height: 16px;
}

main {
    max-width: 1152px;
    margin: 0 auto;
    padding: 7rem 1.5rem 3rem;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
}

.step-circle.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.step-circle.inactive {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #71717a;
}

.step-label {
    font-size: 0.875rem;
    font-weight: 500;
    display: none;
}

@media (min-width: 640px) {
    .step-label {
        display: block;
    }
}

.step-label.active {
    color: white;
}

.step-label.inactive {
    color: #71717a;
}

.step-divider {
    width: 48px;
    height: 2px;
    border-radius: 2px;
    transition: background-color 0.3s;
}

.step-divider.active {
    background: #f97316;
}

.step-divider.inactive {
    background: rgba(255, 255, 255, 0.08);
}

.content-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #a1a1aa;
}

.plan-grid {
    display: grid;
    gap: 1rem;
}

.plan-card {
    position: relative;
    padding: 1.5rem;
    background: #111111;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.plan-card.selected {
    border: 2px solid #f97316;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.15);
}

.plan-card:not(.selected) {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 1.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.plan-badge.popular {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
}

.plan-badge.save {
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #fb923c;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.plan-price {
    font-size: 1.875rem;
    font-weight: bold;
}

.plan-period {
    color: #71717a;
}

.plan-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0.5rem 0 0.25rem;
}

.plan-description {
    font-size: 0.875rem;
    color: #a1a1aa;
    margin-bottom: 1rem;
}

.plan-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #a1a1aa;
}

.check-icon {
    color: #f97316;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.radio-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.3s;
}

.radio-circle.selected {
    border-color: #f97316;
}

.radio-circle.selected::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f97316;
}

.form-section {
    padding: 1.5rem;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.section-icon {
    width: 20px;
    height: 20px;
    color: #f97316;
}

.form-grid {
    display: grid;
    gap: 1.25rem;
}

.form-grid-2 {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    color: white;
    transition: all 0.3s;
}

input::placeholder {
    color: #71717a;
}

input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0.25rem;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: #a1a1aa;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-back {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
}

.btn-back:hover {
    background: #1a1a1a;
}

.btn-primary {
    flex: 1;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sidebar {
    position: sticky;
    top: 7rem;
    height: fit-content;
}

.summary-card {
    padding: 1.5rem;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
}

.summary-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.5rem;
}

.summary-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 1rem 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.summary-row .label {
    color: #a1a1aa;
}

.summary-row .value {
    color: white;
}

.summary-row .savings {
    color: #f97316;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.summary-total .label {
    font-weight: 600;
}

.summary-total .value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f97316;
}

.summary-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #a1a1aa;
}

.hidden {
    display: none;
}

.star-icon {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-group.has-error input {
    border-color: #ef4444;
}

#payment-element {
    margin-top: 1rem;
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

/* Promo Code Section */
.promo-section {
    padding: 1.5rem;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.promo-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.promo-input-group {
    display: flex;
    gap: 0.75rem;
}

.promo-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.875rem;
}

.promo-input::placeholder {
    color: #71717a;
}

.promo-input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.btn-promo {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-promo:hover {
    background: #1a1a1a;
    border-color: #f97316;
}

.btn-promo:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#coupon-message {
    margin-top: 0.75rem;
    font-size: 0.875rem;
}

#coupon-message .alert {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin: 0;
}

#coupon-message .alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

#coupon-message .alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

@media (max-width: 768px) {
    main {
        padding: 6rem 1rem 2rem;
    }
    
    .progress-steps {
        margin-bottom: 2rem;
    }
    
    .plan-features {
        grid-template-columns: 1fr;
    }
    
    .promo-input-group {
        flex-direction: column;
    }
    
    .btn-promo {
        width: 100%;
        justify-content: center;
    }
}

