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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: #ffffff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

.logo-image {
    height: 50px;  /* Increased from 40px (25% bigger) */
    width: auto;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    color: #000000;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.logo p {
    color: #666666;
    font-size: 0.9rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-welcome {
    color: #666666;
    font-size: 0.9rem;
}

.nav-link {
    color: #666666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #000000;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.btn-primary {
    background: #000000;
    color: white;
}

.btn-primary:hover {
    background: #333333;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ffffff;
    color: #333333;
    border: 1px solid #e5e5e5;
}

.btn-secondary:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.hero-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features Preview */
.features-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    border: 1px solid #e5e5e5;
}

.feature-card h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #64748b;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1rem;
}

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

.feature-card li {
    padding: 0.5rem 0;
    color: #475569;
}

/* Auth Form */
.auth-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.auth-form {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    border: 1px solid #e5e5e5;
}

.auth-form h2 {
    color: #000000;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-subtitle {
    color: #666666;
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #333333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cccccc;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-hint {
    color: #666666;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.form-footer p {
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-footer a {
    color: #000000;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

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

.plans-header {
    text-align: center;
    margin-bottom: 3rem;
}

.plans-header h2 {
    font-size: 2.2rem;
    color: #000000;
    margin-bottom: 1rem;
}

.plans-header p {
    color: #666666;
    font-size: 1.1rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.plan-card {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.plan-card.featured {
    border-color: #2563eb;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-header h3 {
    font-size: 1.8rem;
    color: #000000;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: #666666;
    margin-bottom: 1.5rem;
}

.plan-price {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
}

.price-period {
    color: #666666;
    font-size: 1rem;
}

.plan-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.5rem 0;
    color: #333333;
    font-weight: 500;
}

.plans-footer {
    text-align: center;
    color: #666666;
}

.guarantee {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.billing-info {
    font-size: 0.9rem;
}

/* Dashboard */
.dashboard-container {
    max-width: 1000px;
    margin: 0 auto;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-header h2 {
    font-size: 2.2rem;
    color: #000000;
    margin-bottom: 1rem;
}

.dashboard-header p {
    color: #666666;
    font-size: 1.1rem;
}

.subscription-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    border: 1px solid #e5e5e5;
}

.subscription-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active {
    background: #f5f5f5;
    color: #000000;
}

.subscription-status h3 {
    font-size: 1.5rem;
    color: #000000;
}

.subscription-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #333333;
}

.detail-value {
    color: #666666;
}

.subscription-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2rem;
}

.stat-content h4 {
    color: #666666;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
}

.features-section,
.support-section {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e5e5e5;
}

.features-section h3,
.support-section h3 {
    color: #000000;
    margin-bottom: 1rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
}

.feature-item {
    padding: 0.5rem 0;
    color: #333333;
    font-weight: 500;
}

.feature-item.no-plan {
    color: #666666;
    font-style: italic;
}

.support-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.support-link {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
}

.support-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #000000;
    color: #ffffff;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

/* Onboarding Carousel Styles */
.step-progress {
    background: #f5f5f5;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666666;
}

.onboarding-carousel {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    min-height: 70vh;
}

.carousel-step {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.carousel-step.active {
    display: block;
    opacity: 1;
}

.step-content {
    text-align: center;
    padding: 2rem 1rem;
}

/* Welcome Step */
.welcome-header h1 {
    font-size: 2.5rem;
    font-weight: 500;
    color: #000000;
    margin-bottom: 3rem;
}

.welcome-subtitle {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 3rem;
}

/* Step Headers */
.step-header {
    margin-bottom: 2.5rem;
}

.step-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.step-subtitle {
    color: #666666;
    font-size: 1.1rem;
}

/* Input Section */
.input-section {
    margin-bottom: 3rem;
}

.input-large {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid #e5e5e5;
    border-radius: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-large:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Client Options */
.client-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.client-option {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.client-option:hover {
    border-color: #cccccc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.client-option.active {
    border-color: #000000;
    background: #f9f9f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.option-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.option-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.option-text {
    text-align: left;
}

.option-text h3 {
    color: #000000;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.option-text p {
    color: #666666;
    margin: 0;
}

/* Plan Recommendation */
.recommended-plan-card {
    background: white;
    border: 2px solid #000000;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.plan-badge.recommended {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #000000;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-info h3 {
    font-size: 1.8rem;
    color: #000000;
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
}

.price-period {
    color: #666666;
    font-size: 1rem;
}

.plan-features {
    list-style: none;
    text-align: left;
}

.plan-features li {
    padding: 0.5rem 0;
    color: #333333;
    font-weight: 600;
    font-size: 1rem;
}

.plan-switch {
    margin-bottom: 2rem;
}

.plan-switch a {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
}

.plan-switch a:hover {
    text-decoration: underline;
}

/* Subscription Summary */
.subscription-summary {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-label {
    font-weight: 600;
    color: #333333;
}

.summary-value {
    color: #000000;
    font-weight: 600;
}

/* Payment Form */
.payment-form {
    text-align: left;
    margin-bottom: 2rem;
}

.stripe-mock {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    padding: 1rem;
}

.mock-card-input {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mock-input {
    padding: 0.75rem;
    border: 1px solid #cccccc;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.mock-input-row {
    display: flex;
    gap: 0.75rem;
}

.mock-input-small {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #cccccc;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.payment-secure {
    color: #333333;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Confirmation Step */
.confirmation-header {
    margin-bottom: 3rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.next-steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    text-align: left;
}

.next-step-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #f5f5f5;
}

.step-number {
    background: #000000;
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-info h3 {
    color: #000000;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-info p {
    color: #666666;
    margin: 0;
}

/* App Actions */
.app-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.qr-code-section {
    margin-bottom: 2rem;
}

.qr-placeholder {
    background: #f9f9f9;
    border: 2px dashed #cccccc;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.qr-mock {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.web-access {
    color: #666666;
    font-size: 0.9rem;
}

.web-access a {
    color: #000000;
    text-decoration: none;
}

.web-access a:hover {
    text-decoration: underline;
}

/* Step Actions */
.step-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.step-actions.horizontal {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

/* Welcome step exception - keep vertical for welcome only */
.welcome-step-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.login-link {
    color: #666666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.login-link a {
    color: #000000;
    text-decoration: underline;
    font-size: 0.9rem;
}

.login-link a:hover {
    text-decoration: none;
}

.guarantee {
    color: #666666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Account Summary for Payment Step */
.account-summary {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item .summary-label {
    font-weight: 600;
    color: #333333;
}

.summary-item .summary-value {
    color: #000000;
    font-weight: 600;
}

/* Dashboard Error States */
.error-card, .no-subscription-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    border: 1px solid #e5e5e5;
    text-align: center;
}

.error-card {
    border-left: 4px solid #ef4444;
}

.no-subscription-card {
    border-left: 4px solid #3b82f6;
}

.error-icon, .info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-card h3, .no-subscription-card h3 {
    color: #000000;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.error-card p, .no-subscription-card p {
    color: #666666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions, .subscription-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Flash Messages */
.flash-messages {
    margin-bottom: 2rem;
}

.flash-message {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: opacity 0.3s ease;
}

.flash-message.flash-error {
    border-left: 4px solid #ef4444;
    background: #fef2f2;
}

.flash-message.flash-success {
    border-left: 4px solid #10b981;
    background: #f0fdf4;
}

.flash-message.flash-info {
    border-left: 4px solid #3b82f6;
    background: #eff6ff;
}

.flash-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.flash-text {
    flex: 1;
    color: #333333;
    font-weight: 500;
}

.flash-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #666666;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flash-close:hover {
    color: #333333;
}

/* Help Section */
.help-section {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e5e5e5;
}

.help-section h3 {
    color: #000000;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.help-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.help-item:hover {
    background: #f9f9f9;
}

.help-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.help-content h4 {
    color: #000000;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.help-content p {
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.help-link {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.help-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    /* Base font size reduction for mobile - 20% smaller */
    body {
        font-size: 0.8rem; /* Reduced from default 1rem */
    }

    /* Tighter spacing and smaller text for mobile */
    .welcome-header h1 {
        font-size: 1.6rem; /* Reduced from 2rem (20% smaller) */
        margin-bottom: 2rem;
    }
    
    .step-header {
        margin-bottom: 1.5rem;
    }
    
    .step-header h2 {
        font-size: 1.2rem; /* Reduced from 1.5rem (20% smaller) */
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .step-subtitle {
        font-size: 0.8rem; /* Reduced from 1rem (20% smaller) */
        line-height: 1.4;
    }
    
    .input-section {
        margin-bottom: 2rem;
    }
    
    .input-large {
        font-size: 0.88rem; /* Reduced from 1.1rem (20% smaller) */
        padding: 0.8rem 1.2rem; /* Slightly reduced padding */
    }
    
    .client-options {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .client-option {
        padding: 1rem;
    }
    
    .option-content {
        gap: 1rem;
    }
    
    .option-icon {
        font-size: 1.6rem; /* Reduced from 2rem (20% smaller) */
    }
    
    .option-text h3 {
        font-size: 0.8rem; /* Reduced from 1rem (20% smaller) */
        margin-bottom: 0.25rem;
    }
    
    .option-text p {
        font-size: 0.72rem; /* Reduced from 0.9rem (20% smaller) */
        line-height: 1.3;
    }
    
    .recommended-plan-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .plan-badge.recommended {
        font-size: 0.72rem; /* Reduced from 0.9rem (20% smaller) */
        padding: 0.4rem 1.2rem;
    }
    
    .plan-info h3 {
        font-size: 1.2rem; /* Reduced from 1.5rem (20% smaller) */
        margin-bottom: 0.75rem;
    }
    
    .plan-price {
        margin-bottom: 1rem;
    }
    
    .price-amount {
        font-size: 1.6rem; /* Reduced from 2rem (20% smaller) */
    }
    
    .price-period {
        font-size: 0.8rem; /* Reduced from 1rem (20% smaller) */
    }
    
    .plan-features li {
        padding: 0.25rem 0;
        font-size: 0.76rem; /* Reduced from 0.95rem (20% smaller) */
    }
    
    .plan-switch {
        margin-bottom: 1.5rem;
    }
    
    .plan-switch a {
        font-size: 0.8rem; /* Added explicit smaller font size */
    }
    
    .subscription-summary {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .summary-row {
        margin-bottom: 0.25rem;
    }
    
    .summary-label,
    .summary-value {
        font-size: 0.8rem; /* Added explicit smaller font size */
    }
    
    .payment-form {
        margin-bottom: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.8rem; /* Added explicit smaller font size */
    }
    
    .form-group input,
    .form-group select {
        font-size: 0.8rem; /* Reduced input font size */
        padding: 0.6rem; /* Slightly reduced padding */
    }
    
    .form-hint {
        font-size: 0.64rem; /* Reduced from 0.8rem (20% smaller) */
    }
    
    .checkbox-label {
        font-size: 0.72rem; /* Reduced from 0.9rem (20% smaller) */
    }
    
    .payment-secure {
        font-size: 0.72rem; /* Reduced from 0.9rem (20% smaller) */
    }
    
    .confirmation-header {
        margin-bottom: 2rem;
    }
    
    .success-icon {
        font-size: 2.4rem; /* Reduced from 3rem (20% smaller) */
        margin-bottom: 0.75rem;
    }
    
    .next-steps-list {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .next-step-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .step-number {
        width: 2rem; /* Reduced from 2.5rem */
        height: 2rem; /* Reduced from 2.5rem */
        font-size: 0.8rem; /* Added explicit font size */
    }
    
    .step-info h3 {
        font-size: 0.8rem; /* Reduced from 1rem (20% smaller) */
        margin-bottom: 0.25rem;
    }
    
    .step-info p {
        font-size: 0.72rem; /* Reduced from 0.9rem (20% smaller) */
        line-height: 1.3;
    }
    
    .app-actions {
        margin-bottom: 1.5rem;
    }
    
    .qr-code-section {
        margin-bottom: 1.5rem;
    }
    
    .qr-placeholder {
        padding: 1.5rem;
    }
    
    .qr-placeholder p {
        font-size: 0.8rem; /* Added explicit smaller font size */
    }
    
    .qr-mock {
        font-size: 2.4rem; /* Reduced from 3rem (20% smaller) */
        margin-bottom: 0.75rem;
    }
    
    .step-actions {
        flex-direction: row; /* Keep horizontal even on mobile */
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .step-actions .btn {
        flex: 1;
        min-width: 120px;
        max-width: 200px;
        padding: 0.6rem 0.8rem; /* Reduced padding */
        font-size: 0.76rem; /* Reduced from 0.95rem (20% smaller) */
    }
    
    .btn-large {
        padding: 0.8rem 1.6rem; /* Reduced from 1rem 2rem */
        font-size: 0.88rem; /* Reduced from 1.1rem (20% smaller) */
    }
    
    /* Welcome step stays vertical on mobile */
    .welcome-step-actions {
        flex-direction: column;
        margin-bottom: 0.5rem;
    }
    
    .welcome-step-actions .btn {
        width: 100%;
        max-width: none;
    }
    
    .login-link {
        margin-top: 0.75rem;
        font-size: 0.72rem; /* Reduced from 0.9rem (20% smaller) */
    }
    
    .login-link a {
        font-size: 0.72rem; /* Reduced from 0.9rem (20% smaller) */
    }
    
    .guarantee {
        font-size: 0.72rem; /* Reduced from 0.9rem (20% smaller) */
    }
}

