/* Homepage CSS - Elite Homepage Section (Exact match to index page) */

/* Override parent container styles to fix layout issues */
html, body {
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Fix parent wrapper that might be causing double scrollbar and top padding */
.flex-1.overflow-y-auto.pt-20,
.flex-1.overflow-y-auto,
div[class*="flex-1"][class*="overflow-y-auto"],
div[class*="pt-20"] {
    padding-top: 0 !important;
    padding-left: 0 !important;
    overflow: hidden !important;
    height: 100vh !important;
}

/* Ensure the root div takes full height */
#root {
    height: 100vh;
    overflow: hidden;
}

/* Ensure main container takes full height */
.fiscal-page-container {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

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

body {
    background-color: #000000;
    color: white;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    height: 100vh;
}

/* ====== ELITE HOMEPAGE STYLES (SELF-CONTAINED) ====== */

.elite-homepage {
    width: 100vw;
    height: 100vh;
    background: #000000;
    color: #ffffff;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    cursor: default !important;
    opacity: 0;
    transition: opacity 2s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.elite-homepage.loaded {
    opacity: 1;
}

.elite-homepage * {
    -webkit-user-select: none;
    user-select: none;
}

/* Override cursor for clickable elements */
.elite-homepage .paradox-logo,
.elite-homepage .logo-primary {
    cursor: pointer !important;
    -webkit-user-select: none;
    user-select: none;
}

/* Enable interaction for subscription iframe */
.elite-homepage .homepage-subscription,
.elite-homepage .homepage-subscription * {
    cursor: auto !important;
    -webkit-user-select: auto;
    user-select: auto;
    pointer-events: auto !important;
}

/* Ambient Background Canvas */
.elite-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: opacity 0.3s ease;
}

/* Main Content Container */
.elite-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 4rem;
}

/* Logo Link Wrapper */
.logo-constellation-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-constellation-link:hover {
    transform: scale(1.02);
}

/* Logo Constellation */
.logo-constellation {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-primary {
    position: relative;
    z-index: 5;
    animation: logoFloat 8s ease-in-out infinite;
    cursor: pointer;
}

.paradox-logo {
    width: 120px;
    height: 120px;
    color: #4ade80;
    filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.3));
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.paradox-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(74, 222, 128, 0.6));
    color: #ffffff;
}

/* Orbital Elements */
.logo-orbit {
    position: absolute;
    border: 1px solid rgba(74, 222, 128, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbit-1 {
    width: 160px;
    height: 160px;
    animation-duration: 15s;
}

.orbit-2 {
    width: 200px;
    height: 200px;
    animation-duration: 25s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 240px;
    height: 240px;
    animation-duration: 35s;
}

.orbit-dot {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.8);
}

/* Core Message */
.elite-message {
    text-align: center;
    letter-spacing: 0.1em;
    overflow: visible;
}

.elite-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 100;
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
    padding: 0.2rem 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.elite-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    padding: 0.1rem 0;
    line-height: 1.3;
    letter-spacing: 0.2em;
}

.elite-tagline {
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 400;
    color: rgba(74, 222, 128, 0.7);
    padding: 0.1rem 0;
    line-height: 1.4;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Elite Metrics */
.elite-metrics {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.metric {
    text-align: center;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    min-width: 60px;
    padding: 0.3rem;
    border-radius: 4px;
}

.metric:hover {
    opacity: 1;
    transform: translateY(-5px);
    background: rgba(74, 222, 128, 0.05);
    box-shadow: 0 4px 20px rgba(74, 222, 128, 0.1);
}

.metric-value {
    font-size: 3rem;
    font-weight: 100;
    color: #4ade80;
    margin-bottom: 0.75rem;
    font-family: 'SF Pro Display', system-ui, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.5rem;
    width: 100%;
    line-height: 1;
}

.metric-label {
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    line-height: 1.3;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metric:hover .metric-label {
    opacity: 1;
}

/* Homepage Subscription Section (Permanent) */
.homepage-subscription {
    width: 100%;
    max-width: 420px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.homepage-subscription .subscription-info {
    margin-bottom: 1rem;
    text-align: center;
}

.homepage-subscription .subscription-info-title {
    font-size: 1rem;
    font-weight: 500;
    color: white;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #ffffff 0%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.homepage-subscription .subscription-info-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin: 0;
    font-weight: 300;
    max-width: 380px;
    margin: 0 auto;
}

.homepage-subscription {
    overflow: hidden;
}

.homepage-subscription iframe {
    width: 100% !important;
    max-width: 400px !important;
    height: 230px !important;
    border-radius: 6px;
    margin-top: -90px;
    clip-path: inset(80px 0 0 0);
}

/* Responsive for homepage subscription */
@media (max-width: 768px) {
    .homepage-subscription {
        padding: 0.5rem 0.5rem 1.5rem 0.5rem;
        max-width: 380px;
        min-height: 140px;
    }
    
    .homepage-subscription .subscription-info-title {
        font-size: 0.9rem;
    }
    
    .homepage-subscription .subscription-info-text {
        font-size: 0.7rem;
        max-width: 340px;
    }
    
    .homepage-subscription iframe {
        max-width: 360px !important;
        height: 180px !important;
        margin-top: -55px;
        clip-path: inset(40px 0 20px 0);
    }
}

@media (max-width: 480px) {
    .homepage-subscription {
        padding: 0.5rem;
        max-width: 320px;
    }
    
    .homepage-subscription .subscription-info-title {
        font-size: 0.85rem;
    }
    
    .homepage-subscription .subscription-info-text {
        font-size: 0.65rem;
        max-width: 280px;
    }
    
    .homepage-subscription iframe {
        max-width: 300px !important;
        height: 140px !important;
        margin-top: -50px;
        clip-path: inset(40px 0 0 0);
    }
}

/* Extra small screens - ensure email input is always visible */
@media (max-width: 320px) {
    .homepage-subscription iframe {
        max-width: 280px !important;
        height: 120px !important;
        margin-top: -30px;
        clip-path: inset(25px 0 0 0);
    }
}

/* Animations */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

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

@keyframes titleGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

@keyframes pulseRing {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes titleGlow {
    0% { filter: brightness(1) drop-shadow(0 0 5px rgba(74, 222, 128, 0.2)); }
    100% { filter: brightness(1.1) drop-shadow(0 0 15px rgba(74, 222, 128, 0.4)); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

/* ====== BUTTON STYLES (FROM SHARED) ====== */

.fiscal-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'SF Pro Display', inherit;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
}

.fiscal-btn-primary {
    background: rgba(74, 222, 128, 0.05);
    border-color: rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.fiscal-btn-primary:hover {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.fiscal-btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #1e293b;
}

.fiscal-btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(74, 222, 128, 0.4);
    color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* Access Popup Styles - Included for the portal functionality */
.access-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.access-popup-container {
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 20px;
    width: min(90vw, 600px);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.3s ease;
}

.popup-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 1;
}

.popup-close-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Access Options Screen */
.access-options {
    padding: 3rem 2rem 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.access-options.visible {
    opacity: 1;
    transform: translateY(0);
}

.access-content {
    max-width: 400px;
    margin: 0 auto;
}

.access-title {
    margin-bottom: 2rem;
}

.access-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
    letter-spacing: 0.05em;
}

.access-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

.access-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.access-button {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.button-border {
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.button-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.1), transparent);
    transition: left 0.5s ease;
}

.access-button:hover .button-border {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    transform: translateY(-2px);
}

.access-button:hover .button-border::before {
    left: 100%;
}

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

.button-text {
    font-size: 1rem;
    font-weight: 500;
    color: white;
    letter-spacing: 0.05em;
}

.access-button:hover .button-text {
    color: #4ade80;
}

.button-indicator {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}

.access-button:hover .button-indicator {
    color: #4ade80;
    transform: translateX(5px);
}

/* Back indicator */
.back-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.back-indicator:hover {
    color: #4ade80;
}

.back-line {
    width: 2rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.2s ease;
}

.back-indicator:hover .back-line {
    background: #4ade80;
}

.back-text {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Form Styles - Simplified for homepage */
.request-form {
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.request-form.visible {
    opacity: 1;
    transform: translateY(0);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Success Screen */
.success-screen {
    padding: 3rem 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.success-screen.visible {
    opacity: 1;
    transform: translateY(0);
}

.success-animation {
    margin-bottom: 2rem;
}

.success-ring {
    width: 80px;
    height: 80px;
    border: 2px solid #4ade80;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: successPulse 2s ease-in-out infinite;
}

.success-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 50%;
    animation: successPulse 2s ease-in-out infinite 0.5s;
}

.success-ring::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px solid rgba(74, 222, 128, 0.1);
    border-radius: 50%;
    animation: successPulse 2s ease-in-out infinite 1s;
}

.success-checkmark {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkmark-icon {
    width: 24px;
    height: 24px;
    animation: checkmarkDraw 0.5s ease 0.5s both;
}

.success-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.success-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Animation keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes successPulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes checkmarkDraw {
    0% { 
        opacity: 0;
        transform: scale(0);
    }
    100% { 
        opacity: 1;
        transform: scale(1);
    }
}

/* ====== SUBSCRIPTION POPUP STYLES ====== */

.subscription-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    animation: subscriptionFadeIn 0.4s ease forwards;
    padding: 1rem;
}

.subscription-popup-overlay.closing {
    animation: subscriptionFadeOut 0.3s ease forwards;
}

.subscription-popup-container {
    background: rgba(0, 0, 0, 0.97);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-radius: 12px;
    padding: 2.5rem;
    width: 580px;
    max-width: 90vw;
    position: relative;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.03);
    transform: scale(0.95) translateY(15px);
    animation: subscriptionSlideIn 0.4s ease forwards 0.1s;
}

.subscription-popup-container.closing {
    animation: subscriptionSlideOut 0.3s ease forwards;
}

.subscription-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
}

.subscription-close-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

.subscription-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.subscription-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.subscription-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    margin: 0;
    letter-spacing: 0.08em;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subscription-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin: 0;
    max-width: 500px;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.subscription-frame-container {
    width: 100%;
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 8px;
    padding: 1rem;
}

.subscription-benefits {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.benefit-item:hover {
    background: rgba(74, 222, 128, 0.03);
    transform: translateY(-1px);
}

.benefit-indicator {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    opacity: 0.8;
}

.benefit-text {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.subscription-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.subscription-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

/* Subscription Animations */
@keyframes subscriptionFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes subscriptionFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes subscriptionSlideIn {
    from { 
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }
    to { 
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes subscriptionSlideOut {
    from { 
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    to { 
        transform: scale(0.95) translateY(-10px);
        opacity: 0;
    }
}

/* Subscription Responsive Design */
@media (max-width: 768px) {
    .subscription-popup-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
        border-radius: 12px;
        width: calc(100vw - 2rem);
    }
    
    .subscription-close-btn {
        top: 1rem;
        right: 1rem;
        width: 30px;
        height: 30px;
    }
    
    .subscription-title {
        font-size: 1.35rem;
    }
    
    .subscription-subtitle {
        font-size: 0.85rem;
    }
    
    .subscription-benefits {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .benefit-item {
        justify-content: flex-start;
        padding: 0.75rem 1.25rem;
    }
    
    .subscription-frame-container {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .subscription-popup-container {
        padding: 1.5rem 1rem;
        width: calc(100vw - 1rem);
        margin: 0.5rem;
    }
    
    .subscription-title {
        font-size: 1.2rem;
    }
    
    .subscription-subtitle {
        font-size: 0.85rem;
    }
    
    .subscription-frame-container iframe {
        height: 280px !important;
    }
}

/* ====== RESPONSIVE DESIGN FOR ELITE HOMEPAGE ====== */

@media (max-width: 768px) {
    .elite-content {
        gap: 3rem;
        padding: 1rem;
    }
    
    .logo-constellation {
        width: 150px;
        height: 150px;
    }
    
    .paradox-logo {
        width: 80px;
        height: 80px;
    }
    
    .orbit-1 { width: 120px; height: 120px; }
    .orbit-2 { width: 150px; height: 150px; }
    .orbit-3 { width: 180px; height: 180px; }
    
    .elite-metrics {
        gap: 2.5rem;
        max-width: 600px;
    }
    
    .metric {
        min-width: 100px;
    }
    
    .metric-value {
        font-size: 2.5rem;
        height: 3rem;
        font-weight: 400;
    }
    

}

@media (max-width: 480px) {
    .elite-content {
        gap: 2.5rem;
    }
    
    .elite-metrics {
        flex-direction: row;
        gap: 1.5rem;
        max-width: 100%;
        justify-content: center;
        align-items: center;
    }
    
    .metric {
        min-width: 60px;
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .metric-value {
        font-size: 1.8rem;
        height: 2rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }
    
    .metric-label {
        font-size: 0.55rem;
        opacity: 1;
        white-space: nowrap;
    }
    
    /* Always show labels on mobile */
    .metric .metric-label {
        opacity: 1 !important;
    }


}

/* Mobile landscape - optimize spacing */
@media (max-width: 812px) and (max-height: 480px) and (orientation: landscape) {
    .elite-metrics {
        gap: 2rem;
        transform: scale(0.9);
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .metric-label {
        opacity: 1 !important;
        font-size: 0.6rem;
    }
}

/* Extra small screens - keep horizontal layout */
@media (max-width: 320px) {
    .elite-metrics {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .metric {
        min-width: 50px;
        width: 50px;
        height: 50px;
    }
    
    .metric-value {
        font-size: 1.5rem;
        height: 1.8rem;
    }
    
    .metric-label {
        font-size: 0.5rem;
    }
    
    /* Always show labels on extra small mobile */
    .metric .metric-label {
        opacity: 1 !important;
    }
    
    .logo-constellation {
        width: 120px;
        height: 120px;
    }
    
    .paradox-logo {
        width: 60px;
        height: 60px;
    }
    
    .orbit-1 { width: 100px; height: 100px; }
    .orbit-2 { width: 120px; height: 120px; }
    .orbit-3 { width: 140px; height: 140px; }
} 