/* Pricing Page Styles */
.pricing-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
}

/* Hero Section */
.pricing-hero {
    padding: 100px 20px 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.pricing-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-subtitle {
    font-size: 1.25rem;
    color: #aaa;
    margin-bottom: 2rem;
}

.cloud-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(66, 133, 244, 0.2);
    border: 2px solid rgba(66, 133, 244, 0.4);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    color: #4285f4;
    font-weight: 600;
    font-size: 1rem;
}

.cloud-badge i {
    font-size: 1.5rem;
}

/* All-in-One Horizontal Section */
.pricing-all-in-one {
    padding: 60px 20px;
}

.container-wide {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

.horizontal-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: start;
}

/* Compact Cards for Horizontal Layout */
.tier-card-compact,
.cost-calculator-compact,
.infrastructure-compact {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tier-card-compact:hover,
.cost-calculator-compact:hover,
.infrastructure-compact:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.tier-card-compact.recommended {
    border: 2px solid #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.tier-badge-compact {
    position: absolute;
    top: -10px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.compact-header {
    text-align: center;
    margin-bottom: 15px;
}

.compact-header h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.compact-price {
    margin: 10px 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
}

.compact-price .currency {
    font-size: 1rem;
    color: #667eea;
    font-weight: 600;
}

.compact-price .amount {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.compact-price .period {
    font-size: 0.9rem;
    color: #888;
}

.compact-subtitle {
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.compact-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    flex-grow: 1;
}

.compact-features li {
    padding: 6px 0;
    color: #ccc;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.compact-features li i {
    color: #667eea;
    font-size: 0.9rem;
    min-width: 16px;
}

.compact-highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    text-align: center;
}

.compact-highlight p {
    color: #667eea;
    font-size: 0.9rem;
    margin: 3px 0;
}

.compact-highlight strong {
    color: #fff;
    font-size: 1rem;
}

.compact-highlight .savings {
    color: #4ade80;
    font-size: 0.8rem;
}

.btn-compact {
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-top: auto;
}

.btn-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-compact:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Cost Calculator Compact */
.cost-calculator-compact h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
    text-align: center;
}

.calculator-compact {
    margin-top: 15px;
}

.calculator-compact label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: #ccc;
    text-align: center;
}

.calculator-compact input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    margin: 10px 0;
    -webkit-appearance: none;
}

.calculator-compact input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.calculator-compact input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.friend-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin: 10px 0;
    text-align: center;
}

.compact-results {
    margin-top: 15px;
}

.compact-cost {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.compact-cost span:first-child {
    color: #ccc;
    font-weight: 600;
}

.compact-cost span:last-child {
    color: #667eea;
    font-weight: 700;
}

/* Infrastructure Compact */
.infrastructure-compact h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
    text-align: center;
}

.infra-compact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 15px 0;
}

.infra-compact {
    background: rgba(66, 133, 244, 0.05);
    border: 1px solid rgba(66, 133, 244, 0.2);
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.infra-compact:hover {
    border-color: rgba(66, 133, 244, 0.4);
    transform: translateY(-2px);
}

.infra-compact i {
    font-size: 1.5rem;
    color: #4285f4;
    display: block;
    margin-bottom: 5px;
}

.infra-compact span {
    font-size: 0.75rem;
    color: #ccc;
    display: block;
}

.infra-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.infra-details p {
    color: #aaa;
    font-size: 0.8rem;
    margin: 5px 0;
    text-align: center;
}

/* Side-by-Side Section */
.side-by-side-section {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.02);
}

.side-by-side-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* Cost Calculator Card (LEFT) */
.cost-calculator-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.cost-calculator-card:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.cost-calculator-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

/* Infrastructure Card (RIGHT) */
.infrastructure-card {
    background: rgba(66, 133, 244, 0.05);
    border: 2px solid rgba(66, 133, 244, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.infrastructure-card:hover {
    border-color: rgba(66, 133, 244, 0.4);
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.2);
}

.infrastructure-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.calculator-subtitle {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.calculator-widget {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.calculator-widget label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #ccc;
}

.calculator-widget input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    margin: 20px 0;
    -webkit-appearance: none;
}

.calculator-widget input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.calculator-widget input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.friend-count-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin: 20px 0;
}

.calculator-results {
    margin-top: 40px;
}

.calculator-results h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.tier-costs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cost-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
}

.cost-item .tier-name {
    font-weight: 600;
    color: #ccc;
}

.cost-item .cost-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.section-subtitle {
    color: #aaa;
    font-size: 1rem;
    margin-bottom: 30px;
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.infra-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(66, 133, 244, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.infra-card:hover {
    transform: translateY(-3px);
    border-color: rgba(66, 133, 244, 0.4);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.15);
}

.infra-icon {
    font-size: 2.5rem;
    color: #4285f4;
    margin-bottom: 10px;
}

.infra-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #fff;
}

.infra-card p {
    color: #aaa;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Session Sharing Section */
.session-sharing-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.session-sharing-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.sharing-demo {
    max-width: 1000px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sharing-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.host-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    color: white;
    font-weight: 600;
}

.host-player i {
    font-size: 3rem;
}

.connection-lines {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.connection-lines .line {
    width: 3px;
    height: 40px;
    background: linear-gradient(180deg, #667eea, transparent);
    animation: pulse 2s ease-in-out infinite;
}

.connection-lines .line:nth-child(2) {
    animation-delay: 0.3s;
}

.connection-lines .line:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.friend-players {
    display: flex;
    gap: 15px;
}

.friend {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    color: #ccc;
    font-size: 0.9rem;
}

.friend i {
    font-size: 2rem;
    color: #667eea;
}

.sharing-benefits {
    text-align: left;
}

.sharing-benefits h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #fff;
}

.sharing-benefits ol {
    list-style-position: inside;
    color: #ccc;
    line-height: 2;
    margin-bottom: 30px;
}

.sharing-benefits ol li {
    margin-bottom: 10px;
}

.cost-example {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.cost-example h4 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.cost-example p {
    color: #ccc;
    margin-bottom: 10px;
    font-size: 1rem;
}

.cost-example strong {
    color: #4ade80;
    font-size: 1.1rem;
}

/* Session Sharing Section - Compact */
.session-sharing-section-compact {
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

.session-sharing-section-compact h2 {
    font-size: 2rem;
    color: #fff;
}

.sharing-demo-compact {
    max-width: 1200px;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.sharing-visual-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.sharing-visual-compact .host-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.sharing-visual-compact .host-player i {
    font-size: 2.5rem;
}

.sharing-visual-compact .connection-lines {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.sharing-visual-compact .connection-lines .line {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, #667eea, transparent);
    animation: pulse 2s ease-in-out infinite;
}

.sharing-visual-compact .friend-players {
    display: flex;
    gap: 10px;
}

.sharing-visual-compact .friend {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    color: #ccc;
    font-size: 0.75rem;
}

.sharing-visual-compact .friend i {
    font-size: 1.5rem;
    color: #667eea;
}

.sharing-benefits-compact {
    text-align: left;
}

.sharing-benefits-compact h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.sharing-benefits-compact ol {
    list-style-position: inside;
    color: #ccc;
    line-height: 1.8;
    font-size: 0.95rem;
}

.sharing-benefits-compact ol li {
    margin-bottom: 8px;
}

/* Features Comparison */
.features-comparison {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.3);
}

.features-comparison h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    color: #aaa;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #fff;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 25px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #667eea;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item p {
    color: #ccc;
    line-height: 1.8;
}

/* CTA Section */
.pricing-cta {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.pricing-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.pricing-cta p {
    font-size: 1.25rem;
    color: #aaa;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1600px) {
    .horizontal-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
    }
    
    .compact-header h3 {
        font-size: 1rem;
    }
    
    .compact-price .amount {
        font-size: 1.75rem;
    }
}

@media (max-width: 1400px) {
    .horizontal-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .cost-calculator-compact,
    .infrastructure-compact {
        grid-column: span 1;
    }
}

@media (max-width: 1024px) {
    .horizontal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .tier-card-compact.recommended {
        grid-column: span 2;
    }
    
    .infrastructure-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-title {
        font-size: 2rem;
    }
    
    .horizontal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tier-card-compact.recommended {
        grid-column: span 1;
    }
    
    .tier-card-compact,
    .cost-calculator-compact,
    .infrastructure-compact {
        padding: 25px 20px;
    }
    
    .compact-header h3 {
        font-size: 1.25rem;
    }
    
    .compact-price .amount {
        font-size: 2.5rem;
    }
    
    .infrastructure-grid {
        grid-template-columns: 1fr;
    }
    
    .sharing-demo {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sharing-demo-compact {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}