:root {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0b1729;
    --primary-color: #008a8a;
    --primary-hover: #007070;
    --success-color: #22c55e;
    --text-primary: #003a5b;
    --text-secondary: #627084;
    --border-color: #e5e7eb;
    --bg-card: #ffffff;
    --bg-page: #fafafa;
}

body {
    background: linear-gradient(135deg, #fafafa 0%, #f0f4f8 100%);
    background-attachment: fixed;
}

.checkout-main {
    padding: 120px 20px 80px;
    background: transparent;
    min-height: calc(100vh - 200px);
}

@media (min-width: 768px) {
    .checkout-main {
        padding: 140px 50px 80px;
    }
}

.checkout-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 20px;
}

.checkout-header h1 {
    margin: 0;
    font-family: 'Playfair Display', Helvetica, serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, #003a5b 0%, #008a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.checkout-header p {
    margin: 0.75rem 0 0;
    font-family: 'Rethink Sans', Helvetica, sans-serif;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .checkout-header h1 {
        font-size: 2rem;
    }
    
    .checkout-header p {
        font-size: 1rem;
    }
}

.checkout-state {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(13, 34, 58, 0.08);
    color: #0f2742;
}

.checkout-state.error {
    background: rgba(255, 107, 107, 0.12);
    border-color: rgba(255, 107, 107, 0.35);
    color: #8a1f1f;
    flex-direction: column;
    align-items: flex-start;
}

.checkout-content {
    width: 100%;
}

.content-main {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.5s ease-out;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card h2 {
    margin-top: 0;
    font-family: 'Playfair Display', Helvetica, serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .card {
        padding: 24px;
        border-radius: 16px;
    }
    
    .card h2 {
        font-size: 24px;
    }
}

/* Course Header Section */
.course-header-section {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid #f0f4f8;
}

.course-thumbnail {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    background: linear-gradient(135deg, #008a8a 0%, #007070 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 138, 138, 0.3);
}

.course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.course-header-text {
    flex: 1;
}

.course-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-badge i {
    font-size: 0.9rem;
}

.course-title {
    font-family: 'Playfair Display', Helvetica, serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.course-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.summary-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
}

.detail-content .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.detail-value {
    margin: 0;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Card Header Section */
.card-header-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f0f4f8;
}

.card-header-section h2 {
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
}

.card-header-section h2 i {
    color: var(--primary-color);
    font-size: 24px;
}

.card-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Order Summary Section */
.order-summary-section {
    margin: 32px 0;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.summary-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px 0;
}

.order-items {
    margin-bottom: 24px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.order-item-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.order-item-left i {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.order-item-name {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 4px;
}

.order-item-desc {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.order-item-price {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
    white-space: nowrap;
}

.order-totals {
    border-top: 2px solid #e2e8f0;
    padding-top: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.total-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.total-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.total-row-final {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 2px solid #e2e8f0;
}

.total-final {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Receipt Card Styles */
.receipt-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid rgba(34, 197, 94, 0.2);
}

.receipt-success-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.receipt-success-badge i {
    color: #22c55e;
}

.receipt-content {
    margin: 32px 0;
}

.receipt-section {
    margin-bottom: 32px;
}

.receipt-section:last-child {
    margin-bottom: 0;
}

.receipt-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.receipt-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.receipt-detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.receipt-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    font-weight: 600;
}

.receipt-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

.receipt-status {
    color: #065f46;
    display: flex;
    align-items: center;
    gap: 6px;
}

.receipt-status i {
    color: #22c55e;
}

.receipt-summary {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.receipt-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f4f8;
}

.receipt-summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 1rem;
}

.summary-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.receipt-total-row {
    margin-top: 16px;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.receipt-total {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.receipt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid #f0f4f8;
}

@media (max-width: 768px) {
    .course-header-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .course-thumbnail {
        width: 100px;
        height: 100px;
        font-size: 40px;
        align-self: center;
    }
    
    .course-title {
        font-size: 26px;
        text-align: center;
    }
    
    .course-description {
        text-align: center;
    }
    
    .summary-details {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .order-item {
        flex-direction: column;
        gap: 16px;
    }
    
    .order-item-price {
        align-self: flex-end;
    }
    
    .receipt-details-grid {
        grid-template-columns: 1fr;
    }
    
    .receipt-actions {
        flex-direction: column;
    }
    
    .receipt-actions .button {
        width: 100%;
        justify-content: center;
    }
}

/* Payment Card Styles */
.payment-card {
    text-align: center;
}

.payment-header {
    margin-bottom: 32px;
}

.payment-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #92400e;
    font-size: 36px;
    box-shadow: 0 4px 12px rgba(146, 64, 14, 0.2);
}

.payment-card h2 {
    margin-bottom: 12px;
}

.payment-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin: 0;
}

.payment-alert {
    display: none;
    margin: 24px 0;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 500;
    border: 1px solid rgba(14, 32, 55, 0.12);
    background: rgba(14, 32, 55, 0.05);
    color: #0f2742;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-alert.success {
    border-color: rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: #065f46;
}

.payment-alert.error {
    border-color: rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    color: #991b1b;
}

.payment-alert.info {
    border-color: rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.1) 100%);
    color: #1e40af;
}

.payment-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-top: 32px;
}

.payment-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.payment-security i {
    color: var(--success-color);
    font-size: 1.1rem;
}

@media (min-width: 640px) {
    .payment-actions {
        flex-direction: row;
        justify-content: center;
    }
}

.button {
    padding: 0.875rem 2rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.button.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.button.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 138, 138, 0.3);
}

.button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 138, 138, 0.4);
}

.button.primary:active {
    transform: translateY(-1px);
}

.button.primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.button.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0, 138, 138, 0.3);
    }
    50% {
        box-shadow: 0 4px 24px rgba(0, 138, 138, 0.5);
    }
}

.button.outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.button.outline:hover {
    background-color: var(--bg-page);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.button i:last-child {
    transition: transform 0.3s ease;
}

.button:hover i:last-child {
    transform: translateX(4px);
}

/* Access Card Styles */
.access-card.success {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 50%, #ecfdf5 100%);
    border: 2px solid rgba(34, 197, 94, 0.25);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.access-card.success::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Success Celebration */
.success-celebration {
    position: relative;
    margin-bottom: 32px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confetti-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--success-color);
    border-radius: 50%;
    opacity: 0.7;
}

.confetti-1 {
    top: 20%;
    left: 20%;
    background: #22c55e;
    animation: confetti-fall 3s ease-in infinite;
}

.confetti-2 {
    top: 15%;
    right: 25%;
    background: #10b981;
    animation: confetti-fall 3.5s ease-in infinite 0.5s;
}

.confetti-3 {
    top: 25%;
    left: 50%;
    background: #34d399;
    animation: confetti-fall 4s ease-in infinite 1s;
}

.confetti-4 {
    top: 18%;
    right: 15%;
    background: #6ee7b7;
    animation: confetti-fall 3.2s ease-in infinite 1.5s;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(120px) rotate(360deg);
        opacity: 0;
    }
}

.success-icon-wrapper {
    position: relative;
    display: inline-block;
}

.success-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 56px;
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.4), 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: iconPulse 2s ease-out infinite, scaleIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 2;
}

@keyframes iconPulse {
    0% {
        box-shadow: 0 12px 32px rgba(34, 197, 94, 0.4), 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    50% {
        box-shadow: 0 12px 32px rgba(34, 197, 94, 0.4), 0 0 0 20px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 12px 32px rgba(34, 197, 94, 0.4), 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border: 3px solid rgba(34, 197, 94, 0.3);
    border-radius: 50%;
    animation: ringPulse 2s ease-out infinite;
}

.success-ring-2 {
    width: 160px;
    height: 160px;
    border: 2px solid rgba(34, 197, 94, 0.2);
    animation: ringPulse 2s ease-out infinite 0.5s;
}

@keyframes ringPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.access-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.success-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(146, 64, 14, 0.2);
    animation: fadeInDown 0.6s ease-out 0.3s forwards;
}

.success-badge i {
    color: #f59e0b;
    animation: starSpin 2s ease-in-out infinite;
}

@keyframes starSpin {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.access-card.success h2 {
    color: #065f46;
    margin-bottom: 16px;
    font-size: 36px;
    font-weight: 700;
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.access-message {
    color: #047857;
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.7;
    font-weight: 500;
    animation: fadeInUp 0.6s ease-out 0.5s forwards;
}

.kajabi-link-container {
    margin: 40px 0;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out 0.6s forwards;
}

.kajabi-button {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
    transition: all 0.3s ease;
}

.kajabi-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.kajabi-button .button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.kajabi-button .button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.kajabi-button:hover .button-shine {
    left: 100%;
}

.kajabi-button.pulse {
    animation: buttonPulse 2s ease-in-out infinite, fadeInUp 0.6s ease-out 0.6s forwards;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(34, 197, 94, 0.6);
    }
}

.link-hint {
    margin-top: 20px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    color: #065f46;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.link-hint i {
    font-size: 1.1rem;
    color: #10b981;
    flex-shrink: 0;
}

.link-hint span {
    line-height: 1.6;
}

.access-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 32px;
    background: white;
    border-radius: 16px;
    border: 2px solid #dcfce7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out 0.7s forwards;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.15);
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
    border-color: rgba(34, 197, 94, 0.3);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.feature-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    display: block;
}

.feature-desc {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.4;
    display: block;
}

.access-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 32px;
    padding: 28px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    border-left: 5px solid #f59e0b;
    box-shadow: 0 4px 12px rgba(146, 64, 14, 0.1);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out 0.8s forwards;
}

.access-info-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.access-info-content {
    flex: 1;
}

.access-info-title {
    margin: 0 0 8px 0;
    color: #92400e;
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
}

.access-info-text {
    margin: 0;
    color: #78350f;
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .success-celebration {
        height: 140px;
    }
    
    .success-icon {
        width: 100px;
        height: 100px;
        font-size: 48px;
    }
    
    .success-ring {
        width: 120px;
        height: 120px;
    }
    
    .success-ring-2 {
        width: 140px;
        height: 140px;
    }
    
    .access-card.success h2 {
        font-size: 28px;
    }
    
    .access-message {
        font-size: 1rem;
    }
    
    .kajabi-button {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .access-features {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .feature-icon-wrapper {
        margin: 0 auto;
    }
    
    .access-info {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 24px;
    }
    
    .access-info-icon {
        margin: 0 auto;
    }
}

/* Loading State */
.checkout-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.checkout-state i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.checkout-state span {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
}

.checkout-state.error {
    flex-direction: column;
    text-align: center;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.checkout-state.error h2 {
    margin: 0 0 12px 0;
    color: #991b1b;
    font-size: 1.5rem;
}

.checkout-state.error p {
    margin: 0 0 24px 0;
    color: #7f1d1d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .checkout-main {
        padding: 100px 16px 60px;
    }
    
    .checkout-wrapper {
        gap: 20px;
    }
    
    .content-main {
        gap: 20px;
    }
    
    .button {
        width: 100%;
        justify-content: center;
    }
    
    .button.large {
        padding: 1rem 2rem;
    }
}


