/* Google Font - Nunito Sans */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* CSS Variables */
:root {
    --header-bg: #1e1449;
    --primary-purple: #3c1d94;
    --secondary-purple: #2e1785;
    --btn-yellow: #F5C518;
    --btn-text-dark: #1e1449;
    --bg-white: #ffffff;
    --text-dark: #1e1449;
    --text-secondary: #555555;
    --text-muted: #888888;
    --check-color: #6366F1;
}

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

html {
    font-size: 16px;
}

/* Body background (outside mobile viewport) */
body {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #0f0a1e;
    color: var(--text-dark);
    line-height: 1.5;
    min-height: 100vh;
}

/* Mobile Viewport Container - Always 390px */
.mobile-viewport {
    max-width: 390px;
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-color: var(--header-bg);
}

/* Page Wrapper */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background-color: transparent;
    padding: 16px 24px;
    position: relative;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.sign-in-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.sign-in-link:hover {
    opacity: 0.8;
}

/* Checkout Main */
.checkout-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 120px;
}

.checkout-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://d7umw8mitnngt.cloudfront.net/images/backgrounds/checkout_BG.svg') center top no-repeat;
    background-size: cover;
    z-index: 0;
}

.checkout-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 24px;
}

/* Title Section */
.checkout-title-section {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
    color: #fff;
}

.checkout-title-section .title-small {
    font-size: 13px;
    font-style: italic;
    margin-bottom: 8px;
    opacity: 0.85;
}

.checkout-title-section h1 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}

/* Info Card */
.info-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.info-card h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-dark);
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.feature-list li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* What's Not Included Card */
.not-included-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.not-included-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.not-included-list {
    list-style: none;
}

.not-included-list li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.not-included-list li:last-child {
    margin-bottom: 0;
}

.not-included-list li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: rgba(255, 107, 107, 0.7);
    font-size: 11px;
}

/* Guarantees */
.guarantees {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.guarantee-line {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

/* Plans Carousel */
.plans-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-right: -24px;
    margin-bottom: 20px;
    padding-bottom: 16px;
}

.plans-carousel::-webkit-scrollbar {
    display: none;
}

.plan-card {
    flex: 0 0 auto;
    width: calc(100% - 56px);
    min-width: 280px;
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 16px;
    scroll-snap-align: start;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.plan-card.active {
    border-color: var(--btn-yellow);
}

.plan-discount {
    font-size: 12px;
    margin-bottom: 4px;
    color: var(--text-muted);
}

.plan-discount s {
    margin-right: 6px;
    color: #999;
}

.plan-discount .save-text {
    color: #f5a623;
    font-weight: 600;
}

.plan-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.plan-description {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.plan-bonus {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 11px;
}

/* Light Plan Single Card */
.plan-single {
    margin-bottom: 40px;
}

.plan-card-light {
    background-color: var(--bg-white);
    border-radius: 16px;
    padding: 24px 20px;
    border: 2px solid #FFBA07;
}

.plan-header {
    margin-bottom: 20px;
}

.plan-price-light {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}

.plan-duration {
    font-size: 13px;
    color: #888;
    margin-top: 2px;
}

.plan-included {
    list-style: none;
    margin-bottom: 20px;
}

.plan-included li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.plan-included li:last-child {
    margin-bottom: 0;
}

.plan-included svg {
    color: #22c55e;
    flex-shrink: 0;
}

.plan-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.plan-not-included .not-included-title {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.plan-not-included ul {
    list-style: none;
}

.plan-not-included li {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.plan-not-included li:last-child {
    margin-bottom: 0;
}

.x-mark {
    color: #999;
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Checkout Footer */
.checkout-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 390px;
    background-color: #fff;
    border-radius: 24px 24px 0 0;
    padding: 20px 20px 28px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cta-button {
    width: 100%;
    background-color: var(--btn-yellow);
    color: var(--btn-text-dark);
    border: none;
    border-radius: 28px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.cta-button:hover {
    background-color: #ffc933;
    transform: scale(1.02);
}

.cta-button:active {
    transform: scale(0.98);
}

.back-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-size: 12px;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.7;
}

/* Disable all interactions for mock */
* {
    pointer-events: none;
}

body {
    pointer-events: auto;
    overflow-y: auto;
}

.plans-carousel {
    pointer-events: auto;
}
