/* AI Tech VPN WordPress Plugin Styles */

.ai-tech-vpn-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.ai-tech-vpn-container.theme-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    border-radius: 12px;
    min-height: 400px;
}

.ai-tech-vpn-container.theme-light {
    background: #ffffff;
    color: #333333;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
}

/* Header */
.ai-tech-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-tech-header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.connect-wallet-btn {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.connect-wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.wallet-connected {
    color: #4ade80;
    font-weight: 600;
    font-size: 16px;
}

/* Navigation */
.ai-tech-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.ai-tech-nav button {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.ai-tech-nav button.active,
.ai-tech-nav button:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
}

/* Content */
.ai-tech-content {
    min-height: 300px;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.ai-tech-plans-standalone.layout-grid .plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ai-tech-plans-standalone.layout-horizontal .plans-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0;
}

.ai-tech-plans-standalone.layout-horizontal .plan-card {
    min-width: 300px;
    flex-shrink: 0;
}

/* Plan Card */
.plan-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 212, 255, 0.3);
}

.plan-card h3 {
    margin: 0 0 16px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d4ff;
}

.plan-card > div:nth-child(2) {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.plan-card > div:nth-child(3) {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 20px;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.plan-card li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: #cccccc;
}

.plan-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
}

.buy-plan-btn {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border: none;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    width: 100%;
    margin-top: 20px;
}

.buy-plan-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.buy-plan-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Configs */
.configs-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
}

.configs-container h2 {
    margin: 0 0 24px 0;
    color: #00d4ff;
    font-size: 1.8rem;
}

.config-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.config-item h4 {
    margin: 0;
    color: #ffffff;
}

.config-item button {
    background: linear-gradient(45deg, #4ade80, #22c55e);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.config-item button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
}

/* Loading */
.loading, .ai-tech-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 1.2rem;
    color: #888;
}

.ai-tech-loading {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .ai-tech-vpn-container {
        padding: 16px;
    }
    
    .ai-tech-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .ai-tech-header h1 {
        font-size: 2rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-tech-nav {
        justify-content: center;
    }
    
    .config-item {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ai-tech-header h1 {
        font-size: 1.5rem;
    }
    
    .plan-card {
        padding: 16px;
    }
    
    .connect-wallet-btn,
    .buy-plan-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Light theme overrides */
.ai-tech-vpn-container.theme-light .plan-card {
    background: #f8f9fa;
    border-color: #e9ecef;
}

.ai-tech-vpn-container.theme-light .plan-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ai-tech-vpn-container.theme-light .plan-card h3 {
    color: #0066cc;
}

.ai-tech-vpn-container.theme-light .plan-card > div:nth-child(2) {
    color: #333;
}

.ai-tech-vpn-container.theme-light .plan-card li {
    color: #666;
}

.ai-tech-vpn-container.theme-light .ai-tech-nav button {
    border-color: #dee2e6;
    color: #495057;
}

.ai-tech-vpn-container.theme-light .ai-tech-nav button.active,
.ai-tech-vpn-container.theme-light .ai-tech-nav button:hover {
    background: rgba(0, 102, 204, 0.1);
    border-color: #0066cc;
}

.ai-tech-vpn-container.theme-light .configs-container {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.ai-tech-vpn-container.theme-light .config-item {
    background: #ffffff;
    border-color: #e9ecef;
}

.ai-tech-vpn-container.theme-light .config-item h4 {
    color: #333;
} 